404 to 301 redirects
404 pages can appear if a URL is mistyped, was changed or no longer exists.
While you could customize your 404 page to provide a pleasant user experience, another method of handling 404 pages would be to set up 301 redirects.
A 404 to 301 redirect can be set up in two ways:
- Manual – if you are aware what links might be accessed and will point to 404 pages, you can manually set up a redirect from that resource to another one of your choice. You can review methods of setting up manual redirects in our How to set up a redirect article.
- Automatic – this method is in most cases the preferred one since it doesn’t require any further administration once set up. This method will allow ANY 404 pages to direct to a single page of your choice. This is usually set up via WordPress plugins. Among plugins that we can recommend for this, there are two plugins that are the easiest to use: 404 to 301 and All 404 Redirect to Homepage
If you are having trouble using the plugins above, make sure to refer to their documentation for a better understanding of how to use these plugins.