404 Page Not Found Error

404 error is an HTTP status code that means that the page you were trying to reach on a website couldn’t be found on their server. Technically, the error indicates that while the server itself working and functionable while the specific page showing the error is not.

The 404 error pops up when you try to access a page and your browser can’t find it. Depending on which browser you use, the message can be vary. For example with Firefox, gives you with a “404 Not Found” error. Chrome, shows you a message that reads “404. That’s an error.”

Cause of WordPress 404 Page Not Found Error

There are a lot of things that can cause a WordPress 404 error. These include:

  • Incorrect URL – Sometimes, the error can be as simple as an extra letter typed in the page’s URL.
  • Caching issue –  Sometimes, your browser may cache the page you’re trying to access while it can’t be found, so you’ll keep seeing the 404 error even if your site is working for everyone else.
  • Domain Name Server (DNS) settings issue – Your domain may not have propagated yet to the DNS you’re using, so you see the error when you try to access one of your site’s pages.
  • WordPress compatibility issues – Other times, problems with a plugin or theme may affect the way WordPress generates URLs and permalinks for your website.

Fixing WordPress 404 Page Not Found Error

404 error is not a reason to celebrate. Website’s visitors will not find the content that they were looking for. In many cases, the solution to the original error is easily found and the visitor can be quickly directed to the web page that they were originally looking for. So how exactly can you go about achieving a 404 error fix?

1. Reset WordPress Permalinks

The most common causes of the WordPress 404 error is a problem with the way WordPress generates your permalinks. As you may know, WordPress provides you with several options for formatting your posts and pages’ links.The first thing you’ll want to do when you run into a 404 error on a WordPress post is to reset your permalinks.

You can get into your dashboard, start by navigating to your “Settings > Permalinks” tab. Once you’re in, you’ll want to take note of which structure your site is using at the moment. You’ll need to change it temporarily in order to reset WordPress’ permalink settings and you’ll need change it back later.

For now, select the “Plain” option under “Common Settings”, and click on the “Save” button at the bottom of the page. The page will reload. Then you can go ahead and choose your previous permalinks type, and save your changes once more. That’s all it takes to reset your WordPress permalink structure.

Now, go ahead and try to browse your website to see the pages returned WordPress 404 errors.

2. Reset WordPress .htaccess

When you make changes to your WordPress permalink structure and still you get WordPress 404 Page Not Found Error. Then, you’ll need to edit .htaccess manually.

So now, access your website via FTP and navigate to your WordPress root folder. This is the directory that contains your WordPress installation, and it’s commonly located in a folder called public_html or wwwor is named after your website:

Open that folder now, and look for the .htaccess file renamed it then create a new .htaccess file. Then add in below codes.

# BEGIN WordPress

RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

After that, try to access WordPress again, the 404 error should be gone.

3. Disable WordPress Themes and Plugins

Sometimes your plugins and themes can affect your WordPress URL structure, depending on their settings. If you tried one or both of the previous methods and the WordPress 404 error still persists, disabling your themes and plugins is your best chance.

Go to the wordpress dashboard then go to “Plugins > All Plugins” tab and follow this process for each of your plugins:

  1. Click on the “Deactivate” button below the plugin’s name.
  2. Check your site, to see if the 404 error persists.
  3. If the error is still there, re-activate the plugin you disabled.
  4. Move to the next plugin on the list, and repeat the process.

If you’ve checked all your plugins and none of them is to blame, you’ll also want to make sure your active theme isn’t behind the 404 error. Go to your “Themes” tab and switch your active theme to others. Now, check to see if the WordPress 404 error is gone.

Please do contact us if above steps failed.

You may also like...