LauraPresta Posted February 2, 2016 Share Posted February 2, 2016 hello guys, Im pretty bad at doing advanced 301 redirect in .htacsess.. Due to a module, i have to redirect many links like this : https://www.site.com/en/forum?gp_do=qw&qw=tom... to redirect to https://www.site.com key thing is "forum?gp_do.." Do you know if this is possible to do such redirect ? Link to comment Share on other sites More sharing options...
LauraPresta Posted February 2, 2016 Author Share Posted February 2, 2016 omfg i did it RewriteCond %{QUERY_STRING} gp_do=(.*) RewriteRule ^(.*)forum(.*)$ https://www.site.com/? [NC,L,R=301] Link to comment Share on other sites More sharing options...
LauraPresta Posted February 2, 2016 Author Share Posted February 2, 2016 sheeet.. cant i like my own post ? in our forum you can like your own post if you have big ego like me Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now