I have been working on a SS test website for some time now. And recently I found "index.php" was being added to the urls. I am pretty sure this was not the case from the start. But I have been modyfing and adding a lot of files so I am not sure if I changed something.
When I remove the "index.php" from a single url and I start navigating everything is ok, until I get back to my homepage. From there "index.php" is being added again.
After reading some posts I tried modifying the .htaccess file several times with no result.
Please help
.Htaccess
### SILVERSTRIPE START ###
<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files>
<Files web.config>
Order deny,allow
Deny from all
</Files>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###