How to fix 404 errors

Published: July 31, 2023

404 Errors is a standard browser error response that means the page, directory, or content was not found on the server.

Causes: Permalink structure error, redirection and rewriting rules by plugins; web host migrations.

Fix 1

Inside WordPress, go to Settings > Permalinks, and click Save Changes.

Fix 2

Replace the .htaccess file code with a new one with the Basic WP in https://wordpress.org/support/article/htaccess/

Like all technical areas, errors will happen. It’s important to note a few things regarding using the fixes in this article:

  1. Check DNS & make sure everything is proper before resorting to changing files.
  2. When handling any files, make sure to follow this guide: How to handle WordPress files