htacess redirect
Guys,
maybe you can help me, i have this url domain.com/my_product_name.html and it has an htaccess redirect like this
RewriteRule ^(.*)\.html$ products.php?q=$1&%{QUERY_STRING} [L,R=301]
RewriteRule ^(.*)\.html/([\d]+)$ products.php?q=$1&page=$2&%{QUERY_STRING} [L,R=301]
Questions:
1. Why is the header still 302 even i set 301?
2. is there anyway i can maintain the utm parameters i.e. domain.com/my_product_name.html?um_campaign=123&um_source=123
Thanks in advance,
Mike
-
Hello :) This type of question will receive more feedback on a forum or website where more discussions of website design and custom Mod_Rewrite rules occur (e.g. StackOverflow). EX: Apache mod_rewrite redirects to http with 302 instead of https Thank you. 0
Please sign in to leave a comment.
Comments
1 comment