> -----Original Message----- > From: Chris Hayes [mailto:[EMAIL PROTECTED]] > Sent: 09 February 2003 21:12 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] PHP and Serach Engines... > > At 22:00 9-2-2003, you wrote: > >Hello, > > > > How do search engines react to PHP pages? If every > page of a > >site has a .php extension will search engines not react well to that? > >If it does, is there a possible way to handle tracking sessions with > >php, without being punished by the search engines? > > > it's not that they ignore .php pages, more that they do not see a > difference between > domain.org/index.php?page=1 > domain.org/index.php?page=123 > domain.org/index.php?page=129909 > domain.org/index.php?module=board&ID=445 > so only the 1st page will be indexed. > > A common workaround involves the use of Apaches' mod_rewrite, or an > error_document trick so the links are: > domain.org/page/1 > and > domain.org/page/129909
Just for the record, it's not necessary to use mod_rewrite or the error_document trick to get links like this to work with PHP. I have this working on two Apache servers -- one Windows, one Solaris -- pretty much out of the box. You may get better results using one of those methods, but it's not necessary. Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php