Complete Guide To Redirect 404 Page To Homepage In WordPress

How to redirect 404 page to homepage in wordpress ? This is the most common question every wordpress user is having. So, today i thought to write the complete tutorial to redirect 404 pages to homepage.

So basically in this wordpress tutorial we gonna learn couple of things like,

What is error 404 page not found.

How to redirect 404 page to homepage.

How to redirect 404 page to any specific page.

What Is 404 Error Page ?

Whenever your user or visitor landed on non existing/broken url then he/she will be shown the default wordpress 404.php error page. This simply shows that the url you are looking for doesn't exist or removed".So by seeing this page your user may not search any other page/post and they simply exit from your blog. So what basically happened in this case is you loose your readers. Now, question is what to do, to not loose those loyal readers ? any idea ?

How To Redirect 404 Page To Any Specific Page In WordPress ?

You might do not wanted to redirect 404 page to homepage but instead you wanted to redirect it to any specific post or page of your blog. Then in that case you need to give specific url of your post or page. Just follow the simple steps below to execute this task.

Step 1 :- Repeat step 1 and step 2 from above part.

Step 2 :- Paste the below code.

Note: change "http://solvemyhow.com/404" with your URL.

That's it. Now your user will be redirected to specific page or url of our blog post. Here you may redirect your user to your custom created 404 page too.

So this was the complete guide to redirect 404 page to homepage in wordpress. Hope you found this tutorial informative and worth reading. If you have any query, do let me know in the comments below. In the mean while you can also subscribe for SolveMyHow newsletter to get free updates on SEO, WordPress and make money online tutorials right into your inbox.

Found this tutorial interesting ? Why not help us by shooting those social media buttons below, after all "sharing is caring" right !

The top news labnol.org blog NOT FOUND ! If you're a Blogger and Tech lover then the above site is not new to you. labnol.org is the...

The Mind Behind SolveMyHow

Hey Fellas,
Welcome to SolveMyHow. I'm Piyush Golani, a computer science student and a open source technology lover.
I started SolveMyHow as a passion in march 2014 and now it's empowering more than 100,000+ monthly readers world wide.
Here at SolveMyHow, I write high quality tutorials about Blogging, SEO, Hacking and Make Money Online.
Basically SolveMyHow is one spot for finding answer of your any how's.
You can read more about me at About Me page.