Hi,

I have these directives set in my .htaccess file for the purpose of setting up clean-urls for both physical php files and for database queries. However I'm getting a big percentage of visits in web server stats as 302 Documents Found Elsewhere. Would some please explain what I'm doing wrong here? Appreciated..

Code:
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([^\.]+)$ $1.php [L]

RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+[^/])$ $1/ [R]


RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?page=$1 [L,QSA]
RewriteRule ^(.*)/$ index.php?page=$1 [L,QSA]