In this tutorial we will explain what the WordPress 404 error means and how to fix it.

There are different types of errors that you may encounter when working with WordPress blog.

One of the most frequent of all is the ‘404 Not Found’ error. It happens after activating a new theme or rewriting the rules in the .htaccess file. This error is mostly prompted when you navigate from home page to other pages of your website.

Given below are two options you can use to fix this issue:

1. Modify .htaccess

You need to edit the .htaccess file (and add a snippet of code at the top) which can be done in a number of ways. You can either get it done through an FTP program’s edit mode or edit the file on your PC and then upload it to the server via FTP or you can do this via cPanel >> File Manager.

This is the code:

# BEGIN WordPress

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

# End WordPress

2. Correct the Permalinks Structure

You can also fix the ‘404 Not Found’ error by correcting the permalinks of your WordPress site.

Follow these steps:

  • Log into WordPress Dashboard.
  • In the left navigation menu, click on Settings and then on Permalinks (Take a look at the current setting. If you’re using a custom permalink structure, copy-save it somewhere.)
  •  Select Default.
  • Click on Save Settings.
  • Change the settings back to the previous configuration (before you selected Default). Put the custom structure back if you had one.
  • Click on Save Settings.

If you are unable to do this by yourself or if you find this difficult to do, just contact our ever reliable 24/7 support team for assistance regarding this via Live Chat or support email.

Other useful resources:

I hope you found this tutorial useful on how to fix the 404 not found error in WordPress.

Thanks for reading and leave your questions below to keep the conversation going.


  1. Carlo

    Hello, I’m new to blogging / managing a website.
    I got this 404 page when I was trying to import my xml from my wordpress blog ( with subdomain
    All of my posts were imported properly but the media (images) were not. I’ve tried many times but the results were still the same.
    I used default WP importer from the dashboard > tool > import, and checked the import attachments checkbox. When I didn’t check that, no error detected but still the images were not imported. They’re in my file hosting right now, but nowhere in my website.

    Could you help me, please?
    *I’ve tried your no.2 solution but not the 1st since I can’t find .htaccess*

    1. Support Article Author

      If you have a web hosting service with Pickaweb please contact us via live chat.
      We are available 24×7 to help you.

Leave a Reply

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