Re: Re: Submitting variables via /'s

From: Date: Sun, 07 Oct 2001 15:11:06 +0000
Subject: Re: Re: Submitting variables via /'s
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-70288@lists.php.net to get a copy of this message
"Joao Prado Maia" <jpm@phpbrasil.com> wrote in message news:Pine.GSO.4.40.0110051717070.4025-100000@mercury.alloy.net... On Fri, 5 Oct 2001, John A. Grant wrote: > "Ashley M. Kirchner" <ashley@pcraft.com> wrote in message > news:3BBDE532.C2260596@pcraft.com... > > > I want to move away from > > file.php?var1=1&var2=2&var3=3 > > ...and go to > > file.php/1/2/3 > [...] > > Why? What's wrong with ?var1=1&var2=2 >That is actually a good idea to build dynamic web sites and be still >search engine friendly. You can take http://faqts.com as an >example. Go >over Google.com and search for 'faqts' and you will see that Google >crawled the whole site structure because of how carefully the links were >laid out. > >The same thing wouldn't happen (in most cases I guess) with a site of the >'?var=2&var2=4' method of doing links. 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 xxx.php?page=2 xxx.php?page=3 xxx.php?page=4 then those pages would all be invisible to the spider? But if I use this syntax: xxx.php/1 xxx.php/2 xxx.php/3 xxx.php/4 then they are visible? -- 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

« previous php.general (#70288) next »