Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RewriteEngine on
- RewriteCond %{THE_REQUEST} /([^.]+).php [NC]
- RewriteRule ^ /%1 [NC,L,R]
- RewriteCond %{REQUEST_FILENAME}.php -f
- RewriteRule ^ %{REQUEST_URI}.php [NC,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement