Re: Re: Submitting variables via /'s
| From: | Chris Hobbs | Date: | Mon, 08 Oct 2001 21:58:54 +0000 |
| Subject: | Re: Re: Submitting variables via /'s | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-70391@lists.php.net to get a copy of this message | ||
John A. Grant wrote:
Are you saying that a site can not be catalogued by a spider
if if ?var=x syntax is used? So if I put all of the pages in a
database and used links like this:
xxx.php?page=1
then those pages would all be invisible to the spider? But if
I use this syntax:
xxx.php/1
then they are visible?
It's not a matter of can't, it's a matter of won't. Many search engines won't follow links that are clearly queries (?var=whatever), for good or ill. Using a pathinfo means of setting vars will generally fool those engines into visiting everywhere on your site.
Here's some more info on it:
http://www.zend.com/zend/spotlight/searchengine.php
HTH,
--
_______ ___ _ ____ _____
Chris Hobbs / ____\ \ / / | | |/ ___\| __ \
Head Geek | (___ \ \ / /| | | | (___ | | | |
WebMaster \___ \ \ \/ / | | | |\___ \| | | |
PostMaster ____) | \ / | |__| |____) | |__| |
\____/ \/ \____/ \____/|_____/
http://www.silvervalley.k12.ca.us
chobbs@silvervalley.k12.ca.us