FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > Site Promotion
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-16-2008, 01:32 AM   Postid: 169140
NoahM
Registered User
 
NoahM's Avatar

Forum Notability:
512 pts: Elite Community Guru
[Post Feedback]
 
Join Date: Apr 2002
Posts: 445
php vs html for seo

A friend recently hired someone to do seo and he came to me with a question regarding a recommendation/requirement put out by this "seo" specialist.

The claim is that my friend needs to have his site re-written in flat html instead of the current php site. The current site does not utilize a DB but rather uses includes and other simple php code. While I realize that the url is important for seo, I cannot believe that the following php url would rank any higher than the html equivalent, all other things being equal:

www.example.com/coolest_widget_ever.php
www.example.com/coolest_widget_ever.html

Can anyone confirm or debunk this with any certainty?

TIA
NoahM is offline   Reply With Quote
Old 07-16-2008, 11:29 AM   Postid: 169161
 Kevin
Systems Administrator
 
Kevin's Avatar
 
Join Date: Aug 2001
Location: Orlando, FL
Posts: 2,986
Re: php vs html for seo

If that is true it would surprise me but then I am not a SEO expert.

However, I always suggest making all pages index.whatever files within unique directory names. IOW, you would use www.example.com/coolest_widget_ever/index.php Of course since the web server automatically looks for an index file within directories the real URL would simply be www.example.com/coolest_widget_ever. The advantage there is that if someday you wanted to make it a .html or a .cgi or whatever else the URL would not change and old references to it (like from the search engines) would still work.
__________________
Kevin
Kevin is offline   Reply With Quote
Old 07-16-2008, 01:05 PM   Postid: 169163
Matt
Site Owner
 
Matt's Avatar

Forum Notability:
671 pts: Dignified Competence!
[Post Feedback]
 
Join Date: Nov 2000
Location: Birmingham, AL, US
Posts: 1,231
Re: php vs html for seo

Noah,

I have had good SEO success using the method Kevin suggested and it would render the server-side language irrelevant (I would do this long before making all of the pages static). You could set up .html to be interpreted as a .php file, but that is frowned upon here.

-Matt
Matt is offline   Reply With Quote
Old 07-16-2008, 01:32 PM   Postid: 169166
Jarrod
Site Owner
 
Jarrod's Avatar

Forum Notability:
334 pts: An Honor To Be Around
[Post Feedback]
 
Join Date: Jan 2003
Location: London, England
Posts: 352
Re: php vs html for seo

Again another person who's not an "seo" expert but having worked with enough of them recently it's certainly not something they've suggested to any customers. You might also find this blog posting on extensions by Matt Cutts of Google where he specifically states they don't care what the extension is, unless you use something like .exe.
Jarrod is offline   Reply With Quote
Old 07-16-2008, 11:15 PM   Postid: 169175
NoahM
Registered User
 
NoahM's Avatar

Forum Notability:
512 pts: Elite Community Guru
[Post Feedback]
 
Join Date: Apr 2002
Posts: 445
Re: php vs html for seo

I had a feeling the response would be along these line. It is just hard for me to believe that someone puts themselves out as an SEO expert and then makes blanket statements that don't seem to hold up.

Thanks for all of the input. I will likely point my friend to this thread and recommend he take the suggestions about separate directories for index files. One interesting thing in the ensuing discussion below the Matt Cutts post was the part about ensuring URLs use a trailing /
NoahM is offline   Reply With Quote
Old 07-18-2008, 05:51 AM   Postid: 169198
georgeek
Registered User

Forum Notability:
332 pts: An Honor To Be Around
[Post Feedback]
 
Join Date: Jan 2004
Posts: 251
Re: php vs html for seo

Quote:
Originally Posted by NoahM View Post
I cannot believe that the following php url would rank any higher than the html equivalent, all other things being equal:

www.example.com/coolest_widget_ever.php
www.example.com/coolest_widget_ever.html

Can anyone confirm or debunk this with any certainty?
Debunked with certainty However all the examples in this thread use underscores between words and that does make a difference. Google cannot index individual words in the url if they are concatenated or separated by an underscore.

www.example.com/coolest-widget-ever.php is better.

- George
georgeek is offline   Reply With Quote
Old 07-18-2008, 08:51 PM   Postid: 169206
NoahM
Registered User
 
NoahM's Avatar

Forum Notability:
512 pts: Elite Community Guru
[Post Feedback]
 
Join Date: Apr 2002
Posts: 445
Re: php vs html for seo

Quote:
Originally Posted by georgeek View Post
Debunked with certainty However all the examples in this thread use underscores between words and that does make a difference. Google cannot index individual words in the url if they are concatenated or separated by an underscore.

www.example.com/coolest-widget-ever.php is better.

- George
Thanks for the input, but to keep with the theme of the the earlier post regarding a statement by Matt Cutts this CNET article makes me think that used to be the case but has since been update. I would have been a bit surprised to learn that Google cannot handle underscores as word separators.

Interestingly the same article states that URLs with query strings are not penalized either.
Quote:
Put another way, you won't take a hit in your Google rankings if you have a question mark in your URL; just don't have more than two or three equals signs in the URL.
That is the crux of what got my friend into this whole discussion of rewriting the site to remove query strings. Apparently it is another thing that the SEO guy is at least partially incorrect about.
NoahM is offline   Reply With Quote
Old 07-19-2008, 10:41 AM   Postid: 169213
georgeek
Registered User

Forum Notability:
332 pts: An Honor To Be Around
[Post Feedback]
 
Join Date: Jan 2004
Posts: 251
Re: php vs html for seo

Quote:
Originally Posted by NoahM View Post
I would have been a bit surprised to learn that Google cannot handle underscores as word separators..
Google haven't been able to index on words in a url separated by underscores for the last 12 years. Matt Cutts is not always correct in every detail (he has his own and Google's agenda).

I run a large number of test sites (some of them here at FQ) for the sole purpose of having definitive answers to these important questions. Google is not currently doing what Matt Cutts said they would do in the near future.

The best SEO's know this and some like Michael Duz are even prepared to write about it, see his posts Keywords in Urls and URLs (Update). Although over two years old the Google findings are still valid, compare this with this.

Quote:
Interestingly the same article states that URLs with query strings are not penalized either.
Correct.

- George
georgeek is offline   Reply With Quote
Old 07-19-2008, 01:00 PM   Postid: 169217
NoahM
Registered User
 
NoahM's Avatar

Forum Notability:
512 pts: Elite Community Guru
[Post Feedback]
 
Join Date: Apr 2002
Posts: 445
Re: php vs html for seo

Thanks for the additional info. I will certainly point this out to my friend. Since he is going to re-write the site anyway he could just as easily use hyphens instead of underscores.
NoahM is offline   Reply With Quote
Old 07-19-2008, 02:13 PM   Postid: 169218
Wassercrats
Site Owner
 
Wassercrats's Avatar

Forum Notability:
291 pts: An Honor To Be Around
[Post Feedback]
 
Join Date: Nov 2001
Posts: 7,122
Re: php vs html for seo

Quote:
Originally Posted by NoahM View Post
Since he is going to re-write the site anyway he could just as easily use hyphens instead of underscores.
Matt Cutts suggested that be done for new sites even though he said it's not worth changing old ones. I didn't read anything anyone linked to in this thread though.
Wassercrats is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:24 AM.


Running on vBulletin®
Copyright © 2000 - 2019, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2019 FutureQuest, Inc.
FutureQuest, Inc.