tiki Posted December 15, 2005 Share Posted December 15, 2005 When I used mod_rewrite the users.php?page=$1 works but not users.php Any ideas? RewriteRule ^users/$ users.php RewriteRule ^users/([a-z]+)/$ users.php?page=$1 Quote Link to comment https://forums.phpfreaks.com/topic/3053-mod_rewrite-base-file-not-showing/ Share on other sites More sharing options...
bon Posted January 21, 2006 Share Posted January 21, 2006 Have you checked you're visiting example.com/users/ including the trailing slash? If you visit example.com/users without the trailing slash, your code won't work. HTH Quote Link to comment https://forums.phpfreaks.com/topic/3053-mod_rewrite-base-file-not-showing/#findComment-11036 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.