Error: cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received How to Fix WordPress Posts Returning 404 Error - html5wp
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

 

1

2

3

4

5

6

7

8

9

10

# 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]

</IfModule>

# 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.

Leave A Comment

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

img
Facebook Group

User discussion forum

img
Support Desk

Have questions or need help?

img
Documentation

Articles that cover common questions.