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 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 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
Archived
This topic is now archived and is closed to further replies.