admin管理员组文章数量:1133918
I'm looking for the best way to bulk redirect for modified taxonomy URLs.
After category slug has been changed, I need to perform a redirect for all paginated pages:
/category-old/ redirects to /category-new/
/category-old/page/2 redirects to /category-new/page/2
This post recommends using an .htaccess file:
RewriteEngine on
RewriteRule ^/category-old/(.*)$ /category-new/$1 [R=301,L]
This works, but I would like to do redirect using a wordpress tools, because it's easier to keep track of all changes and you don't have to write many lines of code in the file and etc.
Maybe there are some plugins where you can set mass redirect for categories, tags and their pagination pages with a some simple setting?
本文标签: taxonomyBulk 301 redirect for Taxonomies with pagination
版权声明:本文标题:taxonomy - Bulk 301 redirect for Taxonomies with pagination 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736791812a1953120.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论