Re: Building my site... again
| From: | daniel | Date: | Fri, 25 Jan 2002 16:44:03 +0000 |
| Subject: | Re: Building my site... again | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-82129@lists.php.net to get a copy of this message | ||
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