Fixed index.php rewrite

The previous index.php rewrite was causing page not found errors. 
	
RewriteCond %{THE_REQUEST} ^.*/index.php  
RewriteRule ^(.*)index.php$ http://www.%{HTTP_HOST}%{REQUEST_URI}$1 [R=301,L]