Anyone know a good way to handle fixing paginated 404 errors that have been caused by deleting old posts?
For example, the following paginated pages used to exist, but since removing and redirecting posts that fall into the main feed and related categories, there is no longer the last page(s) in the paginated series.:
http://domain.com/blog/page/581/
http://domain.com/blog/category-1/page/27/
http://domain.com/blog/category-6/page/14/
Google has identified all these examples as errors in WMT. We have over 250 of 404 errors containing "page"!
We could do 302 redirects, though the trouble is that these pages will exist again once we create more content. Also, because there's now a large quantity of these since we started cleaning up blog and it would be very challenging to monitor when to turn off the temporary redirects.
Is there a good server-side solution to address this?
Notes:
• Wordpress CMS, NGINX server
• Using rel=prev/next markup with canonicals on paginated series.
• Posts were deleted because the content was very poor and wasn't even valuable to refresh.