Nick-

> That will still cause a problem though won't it (i think I wrote my
> example URL this way also!) as the index.php gets in the way. Hence the
> use of a .htaccess to force php to treat a file called 'index' as a php
> file. Like:
> 
> URL= http://you.com/index/cars/ferrari

Nah... the search engines don't care at all. However.... if you're
picky, you can rename the file from "index.php" to "index" (or
whatever you want) and then add a ForceType via Apache's .htaccess
like this:

<Files index>
  ForceType application/x-httpd-php
</Files>


Put... that step is really for "cleanliness" of the URL, as the
spiders don't care at all.

Daniel

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to