hackalive Posted January 15, 2012 Share Posted January 15, 2012 Hi Guys, This is my so far mod_rewrite RewriteEngine On RewriteCond %{REQUEST_URI} !-f RewriteCond %{REQUEST_URI} !-d RewriteRule ^([^/.]+)/?$ /index.php?page=$1 [L] Now I want to know how i can remove the .php extension from the end of SPECIFIC files (i.e., login.php so I can do login/xyz whith no .php) Cheers in advance Quote Link to comment Share on other sites More sharing options...
trq Posted January 15, 2012 Share Posted January 15, 2012 There is nothing in that rule that says your urls need to contain .php anywhere. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.