Re: Re: Submitting variables via /'s

From: Date: Tue, 09 Oct 2001 16:12:46 +0000
Subject: Re: Re: Submitting variables via /'s
Groups: php.general 
Request: Send a blank email to php-general+get-70503@lists.php.net to get a copy of this message
I certainly hate to re-hash this back out, but what about where your link contains named anchors? such as: www.domain.com/page.php?read=12&content=34#1200 will this work in it's place? www.domain.com/page.php/read/12/content/34#1200 At 10:27 AM 10/9/2001 -0400, you wrote:
"Chris Hobbs" <chobbs@silvervalley.k12.ca.us> wrote in message news:3BC2219E.4040505@silvervalley.k12.ca.us... 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
    Thanks. That's very timely, because I was just setting up
    some pages with hardcoded "query" syntax. I will amend
    my code.
-- John A. Grant * I speak only for myself * (remove 'z' to reply) Radiation Geophysics, Geological Survey of Canada, Ottawa If you followup, please do NOT e-mail me a copy: I will read it here -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net


« previous php.general (#70503) next »