maulikumrania Posted January 22, 2016 Share Posted January 22, 2016 (edited) 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 Edited January 22, 2016 by maulikumrania Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.