Forum Moderators: phranque
I have given 301 redirection to my one page using this code in .htaccess
RewriteCond %{REQUEST_URI} ^/abcd.html?a_aid=moreinfo&a_bid=2c7f6314$
RewriteRule chantix.html?a_aid=moreinfo&a_bid=2c7f6314 /abcd.html [R=301]
and this code.
Redirect 301 /chantix.html?a_aid=moreinfo&a_bid=2c7f6314 /chantix.html
But both are not working. Anybody can suggest me how i can give 301 redirection using .htaccess
My all pages are in php and i have created it in .html through .htaccess.
Thanks in Advance