Just switch from html to php

Discussion in 'Search Engine Optimization' started by mel_akey, Aug 11, 2006.

  1. #1
    What is the importance of the stuff after the page name ie
    blahblah.com/page.html vs
    blahblah.com/page.php?option=com_content&task=view&id=25&Itemid=39

    as far as seo is concerned?
     
    mel_akey, Aug 11, 2006 IP
  2. Voasi

    Voasi Active Member

    Messages:
    1,054
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    88
    #2
    Nothing...but I'm not sure what your asking. It's important to pull up what document in PHP. But Google (and other SE's) don't really like every else after the php?option= ...etc...

    If you can make your pages with look like page.html, but have the functionality of the PHP version, then you're golden. Hire a programmer.
     
    Voasi, Aug 11, 2006 IP
  3. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #3
    mod_rewrite is your friend.
     
    mdvaldosta, Aug 11, 2006 IP
  4. iowadawg

    iowadawg Prominent Member

    Messages:
    10,918
    Likes Received:
    811
    Best Answers:
    0
    Trophy Points:
    380
    #4
    Use xxx.com/mypage.php

    Should work, it works for me and a million other webmasters.
     
    iowadawg, Aug 11, 2006 IP
  5. FireStorM

    FireStorM Well-Known Member

    Messages:
    2,579
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    175
    #5
    use .htaccess
     
    FireStorM, Aug 12, 2006 IP
  6. ewc21

    ewc21 Peon

    Messages:
    455
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Search engines see .php and .html pages the same way. You can check it with View Source option.

    The significance of "stuff after the page name" (also known as parameters) is that too much of such can make it difficult for search engines to locate them because of its depth. It was mentioned by Google people to keep the number of parameters to a max of 3.
     
    ewc21, Aug 14, 2006 IP
  7. hornstar6969

    hornstar6969 Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Html is better, google spider html easier other then php
     
    hornstar6969, Aug 14, 2006 IP
  8. Mayhem Design

    Mayhem Design Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I would disagree. I haven't written a .html page in ages and I am seeing #1 results in Google, MSN and Yahoo for both mine and my client's websites. As long as your main content is on a page ending in .php and you don't get too carried away with ?id=678&....... etc etc etc then all the search engines will spider your site without any problems.

    I find (others can correct me if I'm worng) it also helps if you build your own pages rather than relying on shopping cart or other "out of the box" pre-made sites. Blogs are a different story but for normal sites I have found this to be true.
     
    Mayhem Design, Aug 14, 2006 IP
  9. EricBlackwell

    EricBlackwell Peon

    Messages:
    147
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #9
    I think mayhem is correct.

    PHP can and does get "read" just as effectively as html by the spiders. Problem is that many do not do it correctly. Less than 3 parameters is a good rule.

    Eric
     
    EricBlackwell, Aug 14, 2006 IP
  10. cool_i

    cool_i Peon

    Messages:
    109
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    you should rewrite your urls with mod_rewrite for best seo performance
     
    cool_i, Aug 14, 2006 IP
  11. ewc21

    ewc21 Peon

    Messages:
    455
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #11
    How did you know? I see a lot of PHP pages even rank well, let alone got spidered by robots.
     
    ewc21, Aug 14, 2006 IP
  12. andre75

    andre75 Peon

    Messages:
    1,203
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Really?
    This page:
    http://www.aguntherphotography.com/galleries/south_america/peru.html
    is php. Can you tell?
    php puts out html. With a mod rewrite (as suggested by others) + clean url hack, even the url looks like html. So how would google be able to tell the difference?
     
    andre75, Aug 14, 2006 IP
  13. Voasi

    Voasi Active Member

    Messages:
    1,054
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    88
    #13
    It definitely doesn't matter if PHP or HTML. I've seen very large DB sites that were PHP driven, but outputted HTML pages. SE's don't have a clue, just as long as the code is clean.
     
    Voasi, Aug 15, 2006 IP