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 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. 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. Link to comment https://forums.phpfreaks.com/topic/69660-solved-htaccess-rewrite/#findComment-350046 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.