ted_chou12 Posted September 17, 2007 Share Posted September 17, 2007 Options +FollowSymlinks RewriteEngine on RewriteRule ^blog/(.+) users/blog.php?user=$1 [nc] How do you write it so that both blog/someone and blog/someone/ would redirect to the destination? Thanks. Ted Quote Link to comment https://forums.phpfreaks.com/topic/69660-solved-htaccess-rewrite/ Share on other sites More sharing options...
effigy Posted September 17, 2007 Share Posted September 17, 2007 See "Trailing Slash Problem" here. Quote Link to comment https://forums.phpfreaks.com/topic/69660-solved-htaccess-rewrite/#findComment-350024 Share on other sites More sharing options...
ted_chou12 Posted September 17, 2007 Author Share Posted September 17, 2007 thanks, i fixed it. Quote Link to comment https://forums.phpfreaks.com/topic/69660-solved-htaccess-rewrite/#findComment-350046 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.