Re: Searchengine friendly URLs

From: Date: Fri, 26 Oct 2001 18:37:44 +0000
Subject: Re: Searchengine friendly URLs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-72483@lists.php.net to get a copy of this message
Andy wrote: > I heared that search engines are not following things after the question > mark. Now I looked arround and noticed, that some sites yust have numbers > behind the .php extension. How does this work? Can anybody make an example > and list advantages and disadvantages? Search engines don't normally reach anything on a query string (whatever's after a ? ). So, if you're passing variables from one page to another, you can use a spider-friendly method by changing your URL from something like http://host/script?var1=1&var2=2 to something like http://host/script/1/2. Then you can extract the variables through the $PATH_INFO variable. This was discussed a while back when I posted this same question. Look through the archives and search for subject topic "Submitting variables via /'s"... You may also want to read the following article: http://www.zend.com/zend/spotlight/searchengine.php -- W | I haven't lost my mind; it's backed up on tape somewhere. +-------------------------------------------------------------------- Ashley M. Kirchner <mailto:ashley@pcraft.com> . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc. . 3550 Arapahoe Ave. #6 http://www.pcraft.com ..... . . . Boulder, CO 80303, U.S.A.

« previous php.general (#72483) next »