RE: [PHP] Search Engines and PHP

From: Date: Thu, 15 Feb 2001 19:47:28 +0000
Subject: RE: [PHP] Search Engines and PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-39971@lists.php.net to get a copy of this message
On Tue, 23 Jan 2001 13:33:00 +0100, Sander Pilon (sander@3dnews.net) wrote: >> >> >If you want to be totally searchengine-safe, do not use variables >>on the >> >url, do not rely on cookies and do not rely on POST variables >> for the pages >> >you want to have the searchengine spider. >> >> How the heck do you build a dynamic site without URL variables, >> cookies, or POST variables? >> >> Kristofer > >One way would be to use the url path. > >Http://script.php/these/are/variables/passed/to/php > >You fool the searchengine, it thinks 'script.php' is a directory and >its >getting a file called 'php', but actually you're calling >'script.php' with >'/these/are/variables/passed/to/php' as parameters. These days most search engines index everything, no matter how many ?'s or &'s they see. It used to matter that you do things this way, but now it really doesn't. BTW, the key to showing up high in google is to get people to link to your site with the right link text. let's say for instance a hundred people link to you like this: <a href="http://www.mysite.com">php scripts</a> google notices this and builds an index based on it. Then when someone types in 'php scripts' into google, you're almost guaranteed to rank first.

« previous php.general (#39971) next »