#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    0
    Rep Power
    0
    Can PHP pages be spidered by search engines?
    I know that most engines will ignore any pages that have a ? in it, or any .cgi pages.

    What do you think? PHP pages the same way?
  2. #2
  3. Banned (not really)
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 1999
    Location
    Brussels, Belgium
    Posts
    14,642
    Rep Power
    4492
    I've heard it's the same with PHP pages, search engines tend to ignore them.

    Some people try to trick the search engines by having .html pages parsed as PHP. I don't know if it works or not, and it's not supposed to be to much of an extra load on your server. One good way would be to have .htm as regualar html and .html as PHP.

    My $0.02

    ---John Holmes...
  4. #3
  5. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Posts
    6
    Rep Power
    0
    Well i know search engines can spider my .phtml page!

    I can't see a reason why they can't because when you ask a php page the server only shows the html and not the php code!

    If im wrong please correct me

    ------------------
    Quote the Dokus:"NeverMore!"
  6. #4
  7. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    19
    The problem does not involve the extension, but rather the query string. This is true for all URLs.
  8. #5
  9. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    61
    If you search the PHP forum for 'mod_rewrite' (if you use Apache), there is some good info on how to hide the query string.
  10. #6
  11. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>If you search the PHP forum for 'mod_rewrite'

    Check here for a direct link (in Apache Forum) http://www.devshed.com/Talk/Forums/F...ML/000083.html only if you don't mind to read this long thread. There are various examples for you to choose from.

    [This message has been edited by freebsd (edited October 16, 2000).]
  12. #7
  13. No Profile Picture
    Gödelian monster
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Jul 1999
    Location
    Central Florida, USA
    Posts
    2,307
    Rep Power
    61
    My mistake, yes it was in the Apache forum.

Similar Threads

  1. Improving search capabilities on search engines
    By Som in forum PHP Development
    Replies: 2
    Last Post: February 10th, 2004, 12:34 PM
  2. will search engines see this?
    By enzo250gto in forum PHP Development
    Replies: 2
    Last Post: February 10th, 2004, 09:24 AM
  3. Simple find and replace word search for a text file with php?
    By rabid lemming in forum PHP Development
    Replies: 4
    Last Post: February 1st, 2004, 09:37 PM
  4. Dynamic search, php mysql
    By jonny5005 in forum PHP Development
    Replies: 5
    Last Post: January 26th, 2004, 10:17 PM

IMN logo majestic logo threadwatch logo seochat tools logo