404 Page Not Found WordPress Errors

It is often the case that users receive 404 Page Not Found errors when the rewrite rules in the .htaccess file have been changed, or when a new theme has been activated. These two methods will solve this error.

Correct The Permalinks

  1. When logged in to WordPress, click "Settings", then "Permalinks". Copy and save the current structure.
  2. Click "Default".
  3. Click "Save Settings".
  4. Change the settings back to the previous configuration. Put the structure back in.
  5. Click "Save Settings".


Modify .htaccess

Using the guide in this knowledgebase article to find and open your .htaccess file, paste in this code to the top of the 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]
</IfModule>
# End WordPress




If you continue to have problems such as the wrong domain name showing up in link, missing images or styles, or redirecting to another site, it may be the case that you have the wrong domain name configured in your WordPress blog.

 

  • 27 Users Found This Useful
Was this answer helpful?

Related Articles

How to make WordPress show as Secure in Google Chrome

In order to make your WordPress installation show as Secure in Google Chrome, you'll need ensure...

Temporary URLs in WordPress

To use your Temporary URL with a WordPress installation, you will need to edit the Windows Hosts...

WordPress Optimization

Optimizing your scripts can keep your server and website loading quickly for your visitors. These...

Changing the WordPress Directory

You may want to change the location of your WordPress blog after you have installed it. For...

Fixing the Internal Server Error in WordPress

There are a few possible causes of the 500 Internal Server Error. It is not always due to...