.htaccess modify rules and redirect if there's .php in the url
- by Ron
Hello everyone.
I got the following code in my .htaccess:
Options +FollowSymlinks
RewriteBase /temp/test/
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^about/(.*)/$ $1.php [L]
RewriteRule ^(.*)/download/(.*)/(.*)/(.*)/downloadfile/$…