I’ve been searching and searching for an answer and decided it may be best to ask. I am trying to redirect the following:
redirect 301 /store/?p=3m_controltac http://www.designtoprint.com/3m-controltac
I know it has something to do with using a GET variable but every example I’ve tried ends without success.
You cannot do this with
Redirectdirective as it does not work with GET variables. Your best choice is to use mod_rewrite (or implement it in your webpage (e.g. php file) directly):This will redirect (using 301 code) from
/store/?p=3m_controltactohttp://www.designtoprint.com/3m-controltacONLY (no other URLs will be affected).