How To Fix 404 Error on WordPress Posts

How To Fix 404 Error on WordPress Posts

WordPress is the best and the most powerful CMS till now, and its getting improved day by day. But wordpress users face several problems like Errors Establishing Database Connection or Internal Server Error 500. 404 Error on WordPress Posts is an another problem that panics the users and authors. So in this article we will show you How To Fix 404 Error on WordPress Posts.

If you are facing any problem with wordpress errors, then just shout your question on AskNiraj.com

The Complete Guide on Fixing WordPress Errors. HERE IS WHAT Solving WordPress Errors Begin !!!

When this kind of error happens, the users and authors can access the blog, wordpress dashboard and every other things. The 404 Errors is found when any of them visits the post page, and access a single post.

Don’t Panic,

We have the solution for you.

Why this 404 Errors happens?

Mostly when this 404 happens then you probably have deleted the .htaccess file from your wordpress directory or may be your wordpress have not created that .htaccess file.

In some cases you will find that you have that file but still its you are getting the 404 error, in this case you may have problem with the rewrite rules.

What you need to do to fix 404 error on wordpress.

First, navigate to your WordPress admin dashboard. Then, navigate to the Permalinks Settings menu (Settings → Permalinks).

Now, save your existing permalinks settings. You don’t have to change anything, just click the “Save Changes” button.

How to Fix WordPress Posts Returning 404 Error

When you save your permalinks settings, WordPress rebuilds your .htaccess file. All you need to know is that this almost always fixes 404 errors on Posts.

Give it a shot now, if you haven’t already and check whether it works or not.

If for any reason it doesn’t work, then you can fix it manually. Sometimes wordpress fails to rewrite the .htaccess due to the file permission.

To fix this Login to your server using FTP, and modify the .htaccess file. which is located in the root directory where you have installed wordpress and where the folders like /wp-content/ and /wp-includes/ are located.

Change the file permissions to 666. Then repeat the above solution. Don’t forget to change the permissions back to 660.

If for any weird reason it still doesn’t works then you can also manually add this code in your .htaccess file:


[one-half-first]

How To Fix 404 Error On WordPress Pages

[/one-half-first][one-half]

How To Fix 404 Error On WordPress Categories

[/one-half]

 

Author: EDITORIAL STAFF

Editorial Staff at SmartActiveBlogger is a team of WordPress experts led by Niraj Kashyap. Page maintained by Niraj Kashyap.

1 thought on “How To Fix 404 Error on WordPress Posts”

Comments are closed.