PressTigers

WordPress Posts Returning 404 Error

WordPress is a robust CMS in which sometimes a slight modification can make your site inaccessible. A common error that users face is that their WordPress posts are returning a 404 error message.

In this situation, users are able to access their WordPress admin and their blog’s main page. But when they try to access a single post, they get this 404 error. This happens because either your .htaccess file is deleted or something is wrong with the rewrite rules.

Fix:

To fix this issue, you just simply have to go to your Settings » Permalinks and click on Save Changes button. This will update your permalinks settings and you will get rid of the rewrite rules. If this does not work, then you need to update your .htaccess file manually. For this, you need to log in to your Server using FTP. Find your .htaccess file from its located folder and temporarily make the file writeable by changing the permissions to 666. Add the following code manually in your .htaccess file:

Once code is added, change the permissions back to 660. Your issue should be resolved now.

User Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Get in Touch