Irish SEO,  Marketing & Webmaster Discussion

 

HTML vs PHP pages?

This is a discussion on HTML vs PHP pages? within the Search Engine Optimisation forums, part of the Online Marketing category; Hello I am just finishing an SEO job for one of our main clients. I instructed our designer to use ...


Go Back   Irish SEO, Marketing & Webmaster Discussion > Online Marketing > Search Engine Optimisation

Register Forum Rules FAQDonate Calendar Search Today's Posts Mark Forums Read

  #1 (permalink)  
Old 25-07-2008, 01:28 PM
Frontpage User
 
Join Date: Jul 2008
Posts: 3
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
niky will become famous soon enough
Default HTML vs PHP pages?

Hello
I am just finishing an SEO job for one of our main clients.
I instructed our designer to use basic html for all the important pages I have optimised for, the core and long tail phrases.
He has just shown me the finished site, all the pages are php even the ones I specifically asked to be HTML.
Q: does Google and the like index and rank php pages the same as HTML or will I have to get the designer to redo the main pages as basic HTML?
Everyone's thoughts, opinions, and experiences are much appreciated.
Best regards
_________________________

Last edited by blacknight; 10-04-2009 at 08:55 AM.. Reason: signature rule violation
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 25-07-2008, 01:50 PM
paul's Avatar
ninja SEO
 
Join Date: Dec 2006
Location: .de
Posts: 1,251
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
paul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud ofpaul has much to be proud of
Default

Code:
 RewriteEngine on
RewriteBase /
RewriteRule ^(.*).html$ $1.php [L]
use this in your .htaccess file . So you have a file called glasses.php, it will be accessible under glasses.html. Just change all the links from .php to .html.

There is no real benefit, google is capable of indexing many types of pages.
__________________
my sites :
irish poker / irish jobs / seo faq / advertise jobs free / green card / skiing
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 24-10-2008, 06:55 AM
Frontpage User
 
Join Date: Oct 2008
Posts: 15
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
aathuls will become famous soon enough
Default

PHP is the programing language and HTML is the markup language.Html code is created by various way, including in php.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 25-10-2008, 05:48 PM
Arch-Stanton's Avatar
Member
Recent Blog:
 
Join Date: Jan 2006
Posts: 104
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Arch-Stanton will become famous soon enough
Default

Quote:
Originally Posted by niky View Post
Q: does Google and the like index and rank php pages the same as HTML
Maybe the question should be do search engines prefer the extension .php or .html

As aathuls said above, php will process the output markup as html, an as Paul said use the rewrite rule to express it as .html
An example is this forum page, it’s .php but as you can see in the address bar it shows .html

In my experience the search engines will read .php and .html equally; however, the idea of the rewrite rule is to get a couple of keywords into the page URL, which may help your SERPS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 26-10-2008, 01:59 AM
blacknight's Avatar
Web Slave
 
Join Date: Jan 2006
Location: Ireland
Posts: 7,241
blacknight will become famous soon enoughblacknight will become famous soon enoughblacknight will become famous soon enoughblacknight will become famous soon enoughblacknight will become famous soon enoughblacknight will become famous soon enoughblacknight will become famous soon enoughblacknight will become famous soon enough
Default

You can always compromise and tell apache to treat files with a .html extension as php

In any case as Archstanton says, the more semantic URLs can help with SERPS
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 29-10-2008, 04:34 PM
Hafsoh's Avatar
Coder
 
Join Date: Sep 2008
Posts: 70
Nominated 1 Time in 1 Post
Nominated TOTW/F/M Award(s): 1
Hafsoh will become famous soon enough
Default

For search engines, the programming language is not important, it's the content and the way in which it's presented which gets you the results.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 09-11-2008, 06:47 PM
Frontpage User
 
Join Date: Nov 2008
Location: South Africa
Posts: 11
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
savvi will become famous soon enough
Default

I still find html pages indexed better than php, my personal preference is php, you can make a php.ini file in your public_html folder or root, I'm sure if you do a search you can get the content.

yet a sitemap.xml file helps google, msn etc to index your php content pretty well
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8 (permalink)  
Old 10-11-2008, 08:35 PM
link8r's Avatar
Hardcore Geek
Recent Blog:
 
Join Date: Nov 2008
Location: Limerick
Posts: 552
Nominated 8 Times in 8 Posts
Nominated TOTW/F/M Award(s): 8
link8r will become famous soon enoughlink8r will become famous soon enoughlink8r will become famous soon enoughlink8r will become famous soon enoughlink8r will become famous soon enoughlink8r will become famous soon enoughlink8r will become famous soon enoughlink8r will become famous soon enough
Default

Quote:
Originally Posted by savvi View Post
I still find html pages indexed better than php, my personal preference is php
For what it's worth, I've found PHP/ASP/ASPx files index better, higher and get indexed more frequently. Remember, for almost everybody, SEO is about cause-and-effect. Many people may have had PHP files, read that HTML works better and so switch to HTML (why?) and then have seen a positive effect in SERPs. But there could have been a lot of other factors involved and any of these (Google calls them signals) may have been the "catalyst" of change in the SERP.

Some of the reasons many people feel (claim to feel) that HTML is better is because the name appears static and more controllable. If you have a single web page, e.g. mydomain/content.php and this PHP file controls all of your content without the URL changing, this would definitely be unhelpful for SEO. A basic easy rule of thumb -give each page a uniqe URL.

For example, your About Us page - this could be mydomain.com/aboutus.php or mydomain.com/content.php?about_us. Either way the file arrives as HTML to both your browser/GoogleBot
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9 (permalink)  
Old 14-11-2008, 11:07 AM
Frontpage User
 
Join Date: Nov 2008
Posts: 10
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
starindia will become famous soon enough
Default

PHP is used to make HTML more dynamic than the usual use of Javascript. Its a server side process while HTML is client side.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10 (permalink)  
Old 26-11-2008, 02:14 PM
Frontpage User
 
Join Date: Nov 2008
Posts: 9
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
jen.bas will become famous soon enough
Arrow

I agree.. haven't heard so much about search engines giving higher value if it's in php or html format..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
html, pages, php

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Validating Pages carrivemedia Webmaster Discussion 3 06-04-2008 09:23 PM
How often does google cache pages companyhotseat Google 1 06-03-2008 05:09 PM
pages from ireland johned Google 9 06-03-2008 04:57 PM
AW-specific pages glengara Google Adwords 9 15-11-2007 05:14 PM
Passing arrays through pages daryllsheridan Coding Help 4 01-04-2007 11:19 AM


Sponsored links

Pepperjam Network
Paid On Results www.zanox.com


All times are GMT +1. The time now is 07:20 PM.


Powered by: vBulletin Version 3.8.2, Copyright ©2000 - 2009, Jelsoft Enterprises Limited.
Hosted in Ireland by Blacknight - Test your ISP |Irish Hosting Directory| Armchair.ie|Logo by Eden Web Design|Avatars by Afterglow |Latest Blog Entries | VPS HostingAd Management by RedTyger

Search Engine Friendly URLs by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51