HOW TO FIX WORDPRESS POSTS RETURNING 404 ERROR?

Most of the bloggers use WordPress CMS (Content Management System) to design their sites & blogs. This is all because everything on a WordPress site is configured with the proper use of plugins and themes.

But it’s not all done yet!

You might encounter some serious situations in which you are not able to detect such a problem. So, I always prefer to have a look at the broken links and 404 error pages. Recently I have encountered few “404 errors” in one of my client’s websites. And i taught to briefly explain to you how it was resolved.

[FIX!] WordPress 404 Error

Before we get into the guide, I hardly recommend you to backup all the content and other files of your site and proceed. So, If you have got any serious point at issue you can backup your site.

WordPress is an awesome web tool. With the use of plugins and themes, One can develop a stunning website or blog on his own hands. But for a few, Some situations arise, Where they might encounter “404 redirections“.

This might cause due to the recent changes which have made on your WordPress site. And a 404 error might even occur with the recent plugin installs. So just have a look at your recent changes made on your site.

Go to Settings » Permalinks, and just check the “Post Name” as the Url Type and simply click on Save Changes button. Follow the image below.

wordpress 404 error
wordpress 404 error

Now this small change in the “Permalinks” section will rewrite all the rules. In most of the WordPress 404 error case, this trick has solved it.

Now, What if this didn’t work on your site?

Don’t panic! I already said you that I’m here to help you on it.

So if the above method didn’t work for you then follow this second method which was posted on “wp beginner“. This method includes updating the “.Htaccess file” manually.

Login to the Cpanel and open up File Manager. Now in their search for “htaccess” file and download it.

Once it has downloaded, open it with the help of notepad and paste the below code in it.

Once saved, upload and replace the file into the in the same location where folders like /wp-content/ and /wp-includes/ are located.

That’s it! Now you are all done. Hope this guide has helped you. Don’t forget to comment on your views in the comment’s section below.