We all know how good Thesis Theme is and how much it helps to lower down WordPress plugins. Some time back we shared how to customize Thesis 404 pages and here I’m sharing another tip to redirect your 404 pages to any custom page of your choice.
This is useful to make sure, when people are landing on 404 pages, instead of getting a blank screen or annoying we couldn’t find anything error, we can redirect them to a custom page showing most popular post or may be a post with some interesting 404 images.
This is something which one of my client wanted (via Thesis customization service) and we altered the Thesis 404 hooks to make sure that his 404 error pages should redirect to a custom page.
Here is the code which you need to add into your custom_functions.php file:
That’s it. Once you are done adding the code it will start redirecting all visitors (404 Error page visitors) to the link you specified in the above code. This will also help you to lower down blog bounce rate.
I’m sure those who are using Thesis theme will like this tip and if you are still not using Thesis theme, you can grab one now.