: 301 htaccess redirect for WordPress tag I need a 301 redirect for tag pages that have been created, for example: http://www.mydomain.co.uk/tag/endovenous-laser/page/14/?m&pgd=10 It might look
I need a 301 redirect for tag pages that have been created, for example:
www.mydomain.co.uk/tag/endovenous-laser/page/14/?m&pgd=10
It might look something like this I guess, but this did not work:
RewriteRule^tag/endovenous-laser/(.*)$ www.mydomain.co.uk/treatments/endovenous-laser-ablation-evla/ [R=301,L]
More posts by @Shelley277
1 Comments
Sorted by latest first Latest Oldest Best
This is the method I use:
RewriteCond %{REQUEST_URI} ^/tag/endovenous-laser/.*$ [NC]
RewriteRule .* www.mydomain.co.uk/treatments/endovenous-laser-ablation-evla/ [R=301,L]
Short of a typo, this should work.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.