Hi, I need help to redirect all /tag/xxx/xxx to my homepage.
www.example.com/tag/anything
to
www.example.com
or
www.example.com/tag/anything
to
http://www.example.com/search?search_qu ... h_type=tag
thanks for your help.
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^tag(/.*)?$ / [QSA,L]
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^tag(/(.*))?$ /search?search_type=tag&search_query=$2 [QSA,L]
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^tag(/(.*))?$ /search?search_type=tag&search_query=$2 [QSA,L]
Users browsing this forum: No registered users and 37 guests