maulikumrania Posted January 22, 2016 Share Posted January 22, 2016 Hello,I need help to create htaccess rule for 301 redirectI am trying to redirect a URL with parameters, this one:http://www.domain.com/blog.html?month=7&id=2013 I want to redirect it to:http://www.domain.com/blog/2013.html?view=archive&month=7But I can't figure out the RewriteCond/RewriteRuleThanks Link to comment https://forums.phpfreaks.com/topic/300620-need-help-to-create-301-redirect/ Share on other sites More sharing options...
requinix Posted January 22, 2016 Share Posted January 22, 2016 Are you sure that's the direction you want to rewrite? People go to /blog.html and you want that to actually execute /blog/2013.html? Link to comment https://forums.phpfreaks.com/topic/300620-need-help-to-create-301-redirect/#findComment-1530242 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.