.html and .php

Discussion in 'Search Engine Optimization' started by Max Powers, Oct 6, 2005.

  1. #1
    Does it make any difference to SEO/Indexed pages if some sites on my file are .php instead of .htm or .html?

    Thanks!!
     
    Max Powers, Oct 6, 2005 IP
  2. markkk

    markkk Well-Known Member

    Messages:
    1,143
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    140
    #2
    as long as your PHP page is static ,, I think no difference..
     
    markkk, Oct 6, 2005 IP
  3. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #3
    The PHP file doesn't need to be static. Just make sure (1) you don't tack on session IDs and (2) that you keep any dynamic variables in the URL to a minimum:

    http://www.google.com/intl/en/webmasters/guidelines.html

     
    minstrel, Oct 6, 2005 IP
  4. admans

    admans Peon

    Messages:
    870
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Wow...nice info...
     
    admans, Oct 6, 2005 IP
  5. theduke56789

    theduke56789 Peon

    Messages:
    207
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    So does url masking (mod rewrite) help get around all these issues? Let's say I have my page names (blue-widgets.html) based on the H1 tags (Blue Widgets).
     
    theduke56789, Oct 6, 2005 IP
  6. sarahk

    sarahk iTamer Staff

    Messages:
    28,807
    Likes Received:
    4,534
    Best Answers:
    123
    Trophy Points:
    665
    #6
    mod_rewrite helps because it removes the variables and often keyword stuffs.

    the effect would be the same if the page was truly static with the same filename etc.
     
    sarahk, Oct 6, 2005 IP
  7. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #7
    It may help in some limited circumstances but in the majority of cases mod_rewrite isn't necessary and won't have any discernible effect on spidering or ranking. The folklore that says it's necessary is 5-10 year old thinking.

    See the quote from Google above: when in doubt, go to the source.
     
    minstrel, Oct 6, 2005 IP