I have been trying to fix a URL rewriting issue in Joomla 2.5 for a little while now. The global configuration settings for "Search Engine Friendly URLs" and "Use URL rewriting" are both set to "Yes", and the .htaccess rewrite section is included below:
## Mod_rewrite in use.
RewriteEngine On
## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a <script> tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.
It only seems to be happening on the homepage, where 'index.php' is being appended to the end of the URL.
Also, it all seemed to work fine previously, and as far as I know nothing changed when it began appearing differently (i.e. with index.php). I've followed the suggestions of all similar support threads that I've found and nothing seems to have helped at all. Any help would be greatly appreciated.