SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    What's HTML?
    Join Date
    May 2001
    Location
    San Diego, CA
    Posts
    1,701
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I remember a while back reading that search engines didn't index CGI scripts because they're created on the fly and it would be hard for the spider to know which part of the script was the intentional main page. I don't know if this is still the case, but I'm guessing so (please correct me otherwise.)

    Anyway, I was wondering if the same holds true with PHP? Would make sense because the pages are dynamically generated and depend on variables quite often.
    Ryan Kuhle - A Proud Advisor - Got Questions? Just Ask!
    Get your website started for less than $20! Click Here

  2. #2
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The thread below will answer your question :
    extremely cool....

  3. #3
    What's HTML?
    Join Date
    May 2001
    Location
    San Diego, CA
    Posts
    1,701
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, the thread really filled in some gaps of knowledge. But what about PHP scripts that don't revolve around user input and queries?

    For example, just say each of the pages of my site was a ".php" extension file. The reason they would be php files is to include a header and a footer (just say I don't like using SSI for this example.) Would the search spider still index these individual pages (scripts) or not because they were php files?
    Ryan Kuhle - A Proud Advisor - Got Questions? Just Ask!
    Get your website started for less than $20! Click Here

  4. #4
    SitePoint Enthusiast Chip D's Avatar
    Join Date
    Nov 2000
    Location
    Ontario, Canada
    Posts
    89
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    As far as I'm aware none of the major search engine have a problem with the .php extension nor the .asp or .jsp for that matter.

    The reason why the search engines normally have a problem with dynamically created pages, isn't because they're written in PHP, ASP, JSP or whatever. It's normally because for the site to function correctly some kind of variable has to be passed along in the URL (i.e. http://www.yoursite.com?variable=value). Most of the major search engine spiders will read a URL up to the point where the non-standard characters kick in, for example the question mark.

    I do believe that Google will index dynamic sites that pass variables in the URL. I didn't think they did until the other day, one of my searches had a few dynamics sites in the results.

    Hope this helps,
    Chip D
    ----------------------------------------------------
    Chances are what I think I'm typing is nothing like what I type.


Bookmarks

Posting Permissions

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