I’m working on a site where the index.php is removed in .htaccess using the include list method as below:
DirectoryIndex index.php
<Files index.php>
AcceptPathInfo on
SetOutputFilter PHP
SetInputFilter PHP
</Files>
RewriteEngine On
RewriteCond $1 ^(about|P[0-9]{2,8}) [NC]
RewriteRule ^(.*)$ index.php/$1 [L]I have a template with a link to itself. When the a href link is http://www.domain.com/index.php/about the link works just dandy.
When the link is http://www.domain.com/about the link returns a 404.
However (and this is the weird part), when I click on the URL in the address bar, make absolutely no changes and simply hit return, the link returns the correct page.
Any ideas why this may be? The site is yourtownmemories if you’d like to take a look and see what I’m talking about (while it’s still broken!)