MDanz Posted August 3, 2011 Share Posted August 3, 2011 i've done mod_rewrite on all my links now but i don't want the user to be able to type in http://www.example.com/about.php ,when i have this link already http://www.example.com/about. I want any link with a .php to be redirected to the index page. What rewriterule would accomplish this? Quote Link to comment https://forums.phpfreaks.com/topic/243699-php-extension-remove/ 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.