How to Fix WordPress Posts Returning 404 Error

Very Common problem that most WordPress users face at some point is WordPress posts returning a 404 Error. In this article we will show you how to fix WordPress posts returning 404 error.

  • Login to your cPanel & go to File Manager,
  • In File Manager locate public_html and modify the .htaccess file which is located in the same location where folders like /wp-content/ and /wp-includes/ are located.
  • Now please manually add this code in your .htaccess file:
# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

Leave a Reply

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