Tips & Tricks

How to Fix WordPress Posts Returning 404 Error

How to Fix WordPress Posts Returning 404 Error

When the user goes for a post to the site and the shows 404 pages is not found then undoubtedly there is some sort of error. In this article, we will show you How to Fix WordPress Posts Returning 404 Error

Mostly the reason could be the permalink settings in WordPress. This silly is enough to interrupt access to the website. But in this error, you can get into the admin area, main blog’s page but can not access in any post rather the page will show 404 Not found. This type of error does not cause any harm to the post. The post will remain safe. If the .htaccess file removed or deleted somehow or the rewrite rules went incorrect then this 404 Not found page appear.


Firstly, you need to go to the permalink option which is in settings (Settings » Permalinks), and click the ’Save Changes’. This way you can not only update the permalinks settings but also awash rewrite rules. Mostly this is enough to fix the WordPress Posts Returning 404 Error. 

How to Fix WordPress Posts Returning 404 Error

If still, the error is showing then .htaccess file requires updating manually. 

To update the .htaccess file you need to log in to serve by browsing FTP. The .htaccess file will be found at the folder where wp-includes and wp-content are existing. If you change the permission to 666 then the file can be writeable temporarily. Then place the authentic solution and make sure the permissions get back change to 660. To update manually the code can be added the in .htaccess file












# BEGIN WordPress

<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /

RewriteRule ^index\.php$ – [L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /index.php [L]


# END WordPress


Fix for Local Servers

the web developer downloads WordPress for testing purposes usually from the local server. If the users want browse permalink then they have to ensure rewrite_module in the Apache configuration of Their WAMP, MAMP, or XXAMP.

You Might Also Like

No Comments

    Leave a Reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.