Php and SEO

Discussion in 'Google' started by mikerocky, Aug 17, 2007.

  1. #1
    Hi

    Just wanting a bit of advice and reassurance.
    We are in the middle of designing a large business directory in php.
    How does Php perform in the search engines, good listings are critical for the site we are developing so are we wasting our time using php?

    I've heard you can mod-rewrite your pages, so that your variables comes across as cat_11_111.htm instead of cat.php?sid=11?sid2=111

    does anyone have any experience of this and have any advice to offer?

    Thanks in advance
     
    mikerocky, Aug 17, 2007 IP
  2. mji2010

    mji2010 Active Member

    Messages:
    762
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #2
    I was always told that it was adventageous to use a mod rewrite instead of variables, but on my website all the pages I kept at or below 2 (which is all of them) variables seem to get indexed fine.
     
    mji2010, Aug 17, 2007 IP
  3. mickn

    mickn Peon

    Messages:
    589
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #3
    From my experience those subjects are not relevant anymore. Google has improved much there. They say they've improved much and I noticed myself that they do index links with parameters well now. The only situation where they don't is when a parameter is a very long number which looks like a session id.
    Anyways, if you even experience such problems you can submit your sitemap to Google through Google Webmaster Tools and Google is going to index those pages properly.
    Mod rewrite is mainly to redirect pages, so Google is going to get interested to what you are redirecting anyway.
     
    mickn, Aug 18, 2007 IP
  4. mikerocky

    mikerocky Well-Known Member

    Messages:
    476
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    123
    #4
    Thanks for the responses and help guys.

    Am i right in thinking that a mod rewrite enables you to use words, keywords for example as page names instead of the php parameters

    And are the serach engines still able to read the text within the php pages ok?
     
    mikerocky, Aug 18, 2007 IP
  5. stOx

    stOx Notable Member

    Messages:
    6,426
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    230
    #5
    They have no trouble at all spidering, Ranking or indexing pages that are generated with php. The main reason being that the search engines don't see PHP, They see HTML which the PHP files are generating.
     
    stOx, Aug 18, 2007 IP
  6. mrcrowley

    mrcrowley Peon

    Messages:
    1,034
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #6
    php is ok with mod_rewrite but sucks bigtime without it.
     
    mrcrowley, Aug 18, 2007 IP
  7. stOx

    stOx Notable Member

    Messages:
    6,426
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    230
    #7
    That is completely untrue.
     
    stOx, Aug 18, 2007 IP
  8. alex_d1

    alex_d1 Well-Known Member

    Messages:
    1,522
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    120
    #9
    alex_d1, Aug 18, 2007 IP
  9. mrcrowley

    mrcrowley Peon

    Messages:
    1,034
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Most php scripts i have come accross produce completely irrelevant urls by default untill you modify them. This is just my experience. mod_rewrite comes in and put everything right.
     
    mrcrowley, Aug 18, 2007 IP
  10. The Stealthy One

    The Stealthy One Well-Known Member Affiliate Manager

    Messages:
    3,043
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    105
    #11
    You can definitely SEO PHP pages, but it's always better to use static HTML. I would definitely recommend using mod_rewrite for SE-friendly URLs - anything you can do to help will be more points in your favor.
     
    The Stealthy One, Aug 18, 2007 IP
  11. stOx

    stOx Notable Member

    Messages:
    6,426
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    230
    #12
    DP is evidence that "irrelevant URLs" aren't a bad thing (whatever an irrelevant url is).
     
    stOx, Aug 18, 2007 IP
  12. tamilsoft

    tamilsoft Banned

    Messages:
    1,155
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Yes, but Google is enough?
     
    tamilsoft, Aug 18, 2007 IP
  13. mikerocky

    mikerocky Well-Known Member

    Messages:
    476
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    123
    #14
    Thanks for the advice and that link to the mod rewrite site. Am i right in thinking that google can read all the html the php script generates then st0x?

    can google get in and spider all of the html generated?
     
    mikerocky, Aug 19, 2007 IP
  14. mjesales

    mjesales Peon

    Messages:
    326
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    0
    #15
    google will spider it in whatever format you put it up there. i like mod rewrite urls so that urls are more friendly to viewers.
     
    mjesales, Aug 19, 2007 IP
  15. huebrt

    huebrt Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #16
    Mod rewrite is good for enabling user friendly and keyword rich urls. Otherwise, they say to keep arguments in the url down to no more than 2 or 3. Also, very important - always keep the arguments in the same order, or else you'll run into duplicate content issues (multiple urls for the same content).
     
    huebrt, Aug 19, 2007 IP
  16. stOx

    stOx Notable Member

    Messages:
    6,426
    Likes Received:
    130
    Best Answers:
    0
    Trophy Points:
    230
    #17
    That's right. PHP is just a way to generate HTML on the server before sending it out. It doesn't matter if you use AsP, PHP or perl. As long as it generates html a bot can crawl, index and spider it.
     
    stOx, Aug 19, 2007 IP
  17. trichnosis

    trichnosis Prominent Member

    Messages:
    13,785
    Likes Received:
    333
    Best Answers:
    0
    Trophy Points:
    300
  18. oseymour

    oseymour Well-Known Member

    Messages:
    3,960
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    135
    #19
    php doesn't affect SEO at all....The php code is parsed on the server and is never seen by the bots
     
    oseymour, Aug 19, 2007 IP
  19. redhits

    redhits Notable Member

    Messages:
    3,023
    Likes Received:
    277
    Best Answers:
    0
    Trophy Points:
    255
    #20
    PHP and ASP are just back-ended scripts. they don't send php/asp code to he browser/google , they send html data.
     
    redhits, Aug 20, 2007 IP