Results 1 to 13 of 13
  1. #1
    Join Date
    Nov 2001
    Location
    California
    Posts
    1,991

    PHP and Search Engine Crawlers

    I'd like to know, if search engines will still crawl a site if it is dynamic (php, asp, perl, etc...). I have heard the google will crawl the site, but what about the others?

  2. #2
    Join Date
    Sep 2002
    Location
    Illinois
    Posts
    2,304
    They will, but some of them do not "understand" query strings like index.php?id=3. That's why i'm using mod_rewrite for my projects
    How's my programming? Call 1-800-DEV-NULL

  3. #3
    Join Date
    Nov 2001
    Location
    California
    Posts
    1,991
    Originally posted by null
    They will, but some of them do not "understand" query strings like index.php?id=3. That's why i'm using mod_rewrite for my projects
    Well, most of the links will be to other php pages, and the content will be embedded on the page, the header and footer would be called dynamiclly.

  4. #4
    Join Date
    Sep 2002
    Location
    Illinois
    Posts
    2,304
    then there will be no problems
    How's my programming? Call 1-800-DEV-NULL

  5. #5
    Join Date
    Nov 2001
    Location
    California
    Posts
    1,991
    Originally posted by null
    then there will be no problems
    Do you speak by expereince?

  6. #6
    Join Date
    Sep 2002
    Location
    Illinois
    Posts
    2,304
    yes
    How's my programming? Call 1-800-DEV-NULL

  7. #7
    Join Date
    Nov 2001
    Location
    California
    Posts
    1,991
    Originally posted by null
    yes
    Thanks alot for the help.

  8. #8
    Join Date
    Dec 2001
    Location
    New Hampshire
    Posts
    93
    PHP Code:
    <?if(isset($PATH_INFO)) { 
             
    $vardata explode('/'$PATH_INFO); 
             
    $num_param count($vardata); 
             if(
    $num_param == 0)
               {
    $vardata[] = ''
                 
    $num_param++;} 
             for(
    $i 1$i $num_param$i += 2
                 {$
    $vardata[$i] = $vardata[$i+1];} 
             }
    ?>
    including this, before anything else (i.e. included in your header) will change all '?' and '=' to '/'
    WYSIWYG

  9. #9
    Join Date
    Sep 2002
    Location
    Illinois
    Posts
    2,304
    prosayist,

    use $_SERVER['PATH_INFO']
    How's my programming? Call 1-800-DEV-NULL

  10. #10
    Join Date
    Dec 2001
    Location
    New Hampshire
    Posts
    93
    whatever works for you;
    the above works for me so I'm not too concerned about it at this point
    (_there's other things t'think about, right now_)
    WYSIWYG

  11. #11
    Join Date
    May 2002
    Location
    UK
    Posts
    2,994
    Does anyone actually know of any search engines that don't like query strings (I know Google didn't but that's been fixed)

  12. #12
    Google works fine with on the fly pages ... but some other engines I know still like static pages ... even with on the fly pages, I believe it is good if the "?" isn't in the URL ... Which can be achieved with extra programming.
    Web Hosting Stuff - Over 10,000+ Hosting Companies Listed
    http://www.webhostingstuff.com

  13. #13
    Join Date
    May 2002
    Location
    UK
    Posts
    2,994
    Just running a quick search... on a few of the big search engines

    Ones that don't seem to list ? pages
    Altavista

    Ones that do
    Infospace i.e. excite, etc
    Lycos
    Google
    MSN Search (Looksmart)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •