We are scheduling posts to be archived on a monthly basis. However, this is causing a large amount of 404 errors on the website and obvious SEO issues.
All our posts sit inside a category. So my question is, how do we create an automated 301 redirect when a post is archived (unpublished) to it’s parent category?
Thanks in advance.
There’s a plugin called Auto Redirect 404 in 301 for Trashed Posts which I think is what you’re looking for. It will automatically redirect requests for deleted posts.