How do I solve 404 Errors while working in WordPress?

To make it easier to get in touch with us, from the 24th of March 2016 all support tickets will need to be submitted from your Crucial Control Panel.

404 Page Not Found errors often occur when a new theme has been activated or when the rewrite rules in the '.htaccess' file have been altered, when working in WordPress.

404 Page Not Found error in WordPress can be corrected using two ways:

Option 1: Correct the Permalinks

  1. Log in to WordPress Admin Control Panel, using the login/password you created.


  2. From the left-hand navigation menu in WordPress, click 'Settings' > 'Permalinks'


  3. Note the current setting. If you are using a custom structure, copy or save the custom structure somewhere.
    Select Default.


  4. Click 'Save Changes'.


  5. Change the settings back to the previous configuration (before you selected Default). Put the custom structure back if you had one.


  6. Click 'Save Changes'.


  7. This will reset the permalinks and fix the issue in many cases. If this doesn't work, you may need to edit your '.htaccess' file directly.

Option 2: Edit the .htaccess file

  1. Follow the instructions in this article on How to Edit Your .htaccess file.
  2. Add the following snippet of code to the top of 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

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk