Site icon Grace Themes

How to Fix WordPress Posts Returning 404 Error

Returning 404 Error

If you are working with WordPress then you would be used to WordPress posts returning error 404; it’s more common than you would think and there’s no reason for you to hit the panic button just yet.

The fact remains that WordPress is not as perfect as we would all like it to be but for the moment, it happens to be the best platform out there, to base your website on.

A simple tweak can cause your whole website to shut down but the good news is that most of the errors on WordPress are easily solvable, and all that’s required on your part is to follow the simple directions as listed below.

Usually, this error takes place when the server is unable to locate the post URL and returns the 404 error. However, with the steps listed below, you can easily see that this issue, like many others is solvable.

More often than not, the user is able to access the main admin area but gets a 404 error when he tries to read a post. The thing to remember is not to panic and to follow the steps as shown below, to resolve the issue at the earliest.

You can login to your FTP account with the credentials provided by your host; once you are logged in, just head over to your root directory, you should be able to see the file listed with wp-content/, wp-includes/ and the rest.

Now, download the htaccess file and save it on your system. Basically, you are attempting to change the permissions and make the file rewritable by changing permissions to 666, you can always change it back to 660. Just add the code as shown below to your htaccess file and you should be set.

# 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

#LoadModule rewrite_module modules/

Simply get rid of the pound sign in front of it. So it looks like this:

LoadModule rewrite_module modules/

As mentioned earlier, the 404 is quite simple enough to fix but it is a good idea to always go in for a complete backup before you tinker with any of the core files.

A even better idea would be to go for a professional website design company that offers you a complete services, so you can be assured that even if you were to change any of the core files, the same would be stored in its original form, elsewhere.

We would encourage you to contact your host if any of the above measures do not work, as one of the underling issues could be something else altogether or some of your core files are corrupted.

In which case, you need to head over to, download and install the same version that you are using, and download the same to your system.

Now, upload all the files with the exception of wp-content and see if that helps to resolve this issue once and for all. Generally speaking it does but remember to use it as a last stop gap measure before calling in the professionals.

What you need to remember is this, the longer your website stays down, the longer your customers would go without the requisite data or information.

This is why it is vital that all your permalinks are working just as they are supposed to and that your 404 error is indeed a thing of the past.

By following the steps listed above, you should be able to resolve the 404 error on your own and without calling in the professionals.

Exit mobile version