#1
  1. No Profile Picture
    Registered User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Oct 2005
    Posts
    1
    Rep Power
    0

    Why do SE give preference to .html extension over .php extension?


    There is talk/evidence that SE give preference to .html extension over .php extension.

    To what degree? How crucial is it to have .html? Info?

    Thank you all...
  2. #2
  3. Contributing User
    SEO Chat High Scholar (3500 - 3999 posts)

    Join Date
    Mar 2003
    Location
    Louisiana, USA
    Posts
    3,876
    Rep Power
    22
    Originally Posted by InGearX
    Why do SE give preference to .html extension over .php extension?
    Short answer...they don't give preference to .html over php.

    However, if .php is followed by a long dynamic string of characters, then that may cause problems in getting the page indexed.

    (blah.php?id=2928334948382922&xyz=eivmei&abc=39382 kd983)

    Comments on this post

    • jrothra agrees : This can result in the appearance of preferential treatment.
    • WilliamC agrees : Dead on target D.
    • rmccarley agrees : and because I finally could. DD makes some of the best posts, I've been diggin through them - highly reccomended! :)
    • gabs agrees : :d
  4. #3
  5. <-- No I am not Kermit
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Mar 2005
    Location
    Fort Worth, TX
    Posts
    1,015
    Rep Power
    17
    I'd be curious to see this 'evidence' of SE's giving higher SERPs or priority to .html pages over .php. My experience and understanding is different.

    I agree with DD here... I see no preference one way or the other. The only problem with .php (and .asp, .jsp, and other dynamic pages) is if the URL results in a long string of stuff after a question mark, sort of like this: http://forums.seochat.com/newreply.php?do=newreply&noquote=1&p=278228 (that's the URL for my screen to reply to your post). Everything after the .php will cause problems and make it look like SE's don't like .php. Rather, they don't like long dynamic-page URLs.
    SEO Tips

    SEO Consulting $50/hr - IM me for details *** PayPal available
  6. #4
  7. SEO Earthquake!
    SEO Chat Scholar (3000 - 3499 posts)

    Join Date
    Jun 2005
    Location
    Sacramento, CA
    Posts
    3,307
    Rep Power
    24
    All 3 SEs mention that extension doesn't matter.

    Which is BS (think multimedia), but there is no difference between .htm .html .php .asp et al.

    I think Donna nailed it. The string used can make things more difficult and give that appearance. They don't call her "Dazzlin" for nothing!
    14th Colony: The hardest working websites online!

    Looking for links? Join the Union and don't miss English Grammar rules, tips and explanations
  8. #5
  9. SEO Professional
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Jul 2003
    Posts
    1,221
    Rep Power
    159
    I completely agree with Donna on this one. Always know how to explain things well D.

    Brad
    P.S. How do you post those little "footer agree/disagree post thingies"?

    Comments on this post

    • tfbpa agrees : Next to postnumber on the top right of each post, pictures is a.... scale?
    Get Your FREE SEO Guide on how I managed to grab the #1 position on Google
    for hundreds of extremely competitive keywords...

    ==> Get FREE Google Ranking Guide Here!
  10. #6
  11. visiting Margaritaville
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Apr 2004
    Location
    GoogleLand, USA
    Posts
    872
    Rep Power
    20
    Originally Posted by InGearX
    There is talk/evidence that SE give preference to .html extension over .php extension.
    There are always theories tossed out. However I have yet to see any evidence at all showing the above is true.

    Comments on this post

    • Highland agrees : Yep. If you want to assert this is true post up some examples
  12. #7
  13. Extremely Googled
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Dec 2004
    Posts
    1,035
    Rep Power
    499
    Keep in mind that Google is no fool. page.html vs page.php means nothing. A mod rewrite can make a PHP page seem like a normal HTML page. And there's no difference to the external viewer because both are fed HTML.
  14. #8
  15. <--sharing means caring
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Jun 2005
    Location
    Recycle Bin
    Posts
    368
    Rep Power
    14
    I don't let the search engines see an extension on the home page. When first starting out, I heard that .html was better and in order to not show my .php I did a mod rewrite, or just configured the apache server to run php code in html pages.
    After doing this for a couple of years, I tried just using the php extension to see what would happen. Nothing bad ever came of it. Now, just to be on the safe side and out of habit, I link all of the pages going back to home to www.domain.com, and not just index.***.
    Not only does this help with not allowing Google to see the extension, but when used together with a domain.com to www.domain.com mod_rewrite, it helps keep all of the PR on the one page, instead of having it different for domain.com and domain.com/index.html.
  16. #9
  17. visiting Margaritaville
    SEO Chat Adventurer (500 - 999 posts)

    Join Date
    Apr 2004
    Location
    GoogleLand, USA
    Posts
    872
    Rep Power
    20
    Originally Posted by AltherrWeb
    Now, just to be on the safe side and out of habit, I link all of the pages going back to home to www.domain.com, and not just index.***.
    Not only does this help with not allowing Google to see the extension, but when used together with a domain.com to www.domain.com mod_rewrite, it helps keep all of the PR on the one page, instead of having it different for domain.com and domain.com/index.html.
    Very good habit too.
  18. #10
  19. SEO Chat Skiller (1500 - 1999 posts)

    Join Date
    Jul 2004
    Location
    Seattle, WA
    Posts
    1,888
    Rep Power
    46
    Even better is to make sure that index.php/index.html/home.htm/etc are 301'd to the top host domain. That way, even if someone does get to that page, it won't get indexed and the link love will go towards strengthening the single, canonical homepage.

    Comments on this post

    • WilliamC agrees : Quite true.
    • AltherrWeb agrees : I agree in theory, but how would somebody get to that, unless they typed it in?
    CEO & Co-founder of SEOmoz

Similar Threads

  1. Google delisting all of my .php pages but .html are ok.
    By staalejg in forum Google Optimization
    Replies: 9
    Last Post: Sep 14th, 2005, 03:17 PM
  2. .html forum extension
    By Dactyl in forum Search Engine Optimization
    Replies: 2
    Last Post: Apr 21st, 2005, 05:04 AM
  3. .php vs. .html
    By ep2002 in forum Search Engine Optimization
    Replies: 5
    Last Post: Mar 13th, 2005, 04:21 PM
  4. .html extension versus other extensions...
    By ShytKicka in forum Google Optimization
    Replies: 8
    Last Post: Oct 25th, 2004, 08:22 PM
  5. Combining .html pages and .php pages
    By tigershark in forum Google Optimization
    Replies: 17
    Last Post: Aug 5th, 2003, 07:58 AM

IMN logo majestic logo threadwatch logo seochat tools logo