## How to set up redirects for category paginated pages after adding /category/ to permalink

Question

We have a site using WPML and the category archives like /categoryname/page/2 weren’t working in the secondary language. I added /category/ to the permalink and now the pagination works, but I need help getting the paginated archive links to 301 redirect.

1. I set up manual redirects for the main category archives using the Redirection plugin:
• Ex: /categoryname/ redirects to: /category/categoryname/
2. I need help with redirecting the paginated pages in the category archive.
• Ex: http://example.com/categoryname/page/1 redirects to http://example.com/category/categoryname/page/1
3. Single posts haven’t been redirected because they work fine with /category/ in the permalink, and I’d love to keep it as-is if possible.
0
6 years 2016-09-04T07:03:47-05:00 0 Answers 100 views 0