1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP, HTML does it matter

Discussion in 'Search Engine Optimization' started by mattr2110, Jan 24, 2006.

  1. #1
    Does the file extension matter to search engines or is it all code based? I ask because I have one page that was made in HTML put renamed it to php.
     
    mattr2110, Jan 24, 2006 IP
  2. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It doesn't matter at all what file extension is used. Now, with that said if SE's indexed a html version and you changed it to php, then their going to have to re-cache the page because it's seen as a different web page.
     
    mdvaldosta, Jan 24, 2006 IP
  3. cpucandy

    cpucandy Peon

    Messages:
    489
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can easily make your .html files run php code by adding an apache handler. You can check with your hosting company on how to do this. If they use Cpanel, you can go into your "mime types" and added a user defined handler.

    Ex.
    Mimetype = application/x-httpd-php
    extension = .html
     
    cpucandy, Jan 24, 2006 IP
  4. irka

    irka Well-Known Member

    Messages:
    1,875
    Likes Received:
    183
    Best Answers:
    0
    Trophy Points:
    185
    #4
    it doesn't matter at all whether you use HTML or PHP for a search engine, it's the same. The only convinience about php is that many search engines index it very fast isnt it ? I always see a php website get indexed more faster than a HTML one.
     
    irka, Jan 24, 2006 IP
  5. mattr2110

    mattr2110 Active Member

    Messages:
    323
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    Veryl cool I will try this. Thanks
     
    mattr2110, Jan 27, 2006 IP
  6. adolix

    adolix Peon

    Messages:
    787
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #6
    1st phrase - true
    2nd phrase - false

    the only fact that you have to think of is that most SE don't like URLs with more than 2 parametes. so if you have:
    index.php?id=10&product=cars&username=john
    SE won't like it and will rate it not very well. so you should use HTACCESS rewriting, which is not very easy, but it very powerfull. you chose your own encoding, something like this one from above for example:
    view-products-cars-item-10-seller-john.html

    good luck.
     
    adolix, Jan 27, 2006 IP
  7. Eclipsis

    Eclipsis Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I agree with adolix about the "falseness" of the second phrase.
    I have made a one-year long test about Google's preferences aconcerning the file extensions for pages, and it doesn't seem to make a big difference. Yet in my test(s), the asp extension seems a little unfavored. .php and .html (or .htm) were about the same.
     
    Eclipsis, Jan 27, 2006 IP