SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Zealot
    Join Date
    May 2000
    Location
    Eugene, OR
    Posts
    178
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    I'm very interested in using php/mysql for my site. However, I have heard that search engines have trouble (or just can't) index URL's with things like a ? in it. For example:

    http://www.webmasterbase.com/article.php3?aid=228&pid=0

    It is important for me that all of the pages can be indexed by engines, as we are bookstore, and we want people who are searching for a particular title to be able to find it.

    Does anyone have any comments on this?

    Is there a way for the ? part of the URL to not get displayed?

    Thanks for your help,

    Adam



  2. #2
    SitePoint Wizard
    Join Date
    Jul 1999
    Location
    Chicago
    Posts
    2,629
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They certainly can. Just they won't search your engine for specific books, they'll only follow links. Plus they wouldn't pick up new releases.

    I'm not sure if this is so with EVERY spider but with the main ones it is.

  3. #3

    Join Date
    Oct 1999
    Location
    UK
    Posts
    120
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The engines have trouble getting past the ? in the url. This can be overcome using a mod_rewrite on the server (apache) so that the variables become part of the url displayed as a normal www.site/firstvariable/secondvariable/

    More can be found at http://www.apache.org/docs/mod/mod_rewrite.html

    Not easy but worthwhile.

    ------------------
    Simon Conroy, Acorn Internet Search Engine Placement
    http://www.topwebsite.co.uk/

  4. #4
    SitePoint Enthusiast
    Join Date
    Jul 1999
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This can be done easier. Add this:

    <FilesMatch "movies">
    ForceType application/x-httpd-php3
    </FilesMatch>

    to the .htaccess file on your server. This forces php to read file 'movies' (without extension). Now you can create 'fake' directories and files, for example: http://www.site.com/movies/titanic/

    '/titanic/' is now a variable which PHP can read and process.


    ------------------
    Filmbug Movie Search Engine
    http://www.filmbug.com/


    [This message has been edited by Misja (edited June 20, 2000).]


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
  •