404 Not Found Error: causes and fix
Quick answer: A 404 means the site is up but that page doesn't exist. Visitors should check the URL and use the site's search; site owners should re-save permalinks and check redirects.

Symptoms
- "404 Not Found" or "Page not found"
- The home page loads but posts and pages return 404 (WordPress)
- A link from Google or social media leads to a 404 page
Likely causes
- The address was mistyped or the link was copied incompletely.
- The page was deleted or moved without a redirect.
- On WordPress, the permalink settings or the .htaccess file are broken.
- A browser or CDN cache is serving an outdated version.
- The site was recently migrated and some files or database tables didn't transfer.
Step-by-step fix
Start from step one and test again after each step; steps go from the simplest to the most technical.
-
Check and shorten the URL
Watch for uppercase letters, hyphens and file extensions. A link copied from a message or email may be cut off. Remove the last part of the address to go up one level until you reach a page that loads.
-
Search the site or Google
Search for the article title in the site's own search, or on Google together with the site's name; the new address usually turns up. If the page was deleted, a copy may still exist in web archives.
-
Bypass the cache
Reload with Ctrl+F5 or open the page in an Incognito window. If it loads there, your browser cache was outdated.
-
Site owners: re-save permalinks
In WordPress, go to "Settings > Permalinks" and click "Save Changes" without changing anything. This rewrites the URL rules in .htaccess and fixes the most common cause of 404s after a migration or a plugin install.
-
Site owners: check .htaccess
If that didn't help, use your host's File Manager to confirm .htaccess exists in the site root, is writable and contains the standard WordPress block (# BEGIN WordPress … # END WordPress). On an Nginx server this file is ignored and a try_files rule is needed in the server config; ask your host.
-
Site owners: add 301 redirects
If you changed a page's URL or moved the site, set up 301 redirects from the old addresses to the new ones with a redirect plugin or in .htaccess. This keeps the traffic and SEO value of old links.
-
Site owners: purge cache and CDN
If you use a caching plugin or a CDN such as Cloudflare, purge everything after each change; otherwise visitors may keep seeing the 404 for a while.
-
Site owners: check Search Console
In Google Search Console, the "Pages" report lists URLs that return 404. Redirect the ones with traffic or backlinks; the rest can stay, because a 404 for a page that's truly gone is normal and isn't penalized.
If nothing worked
If you're a visitor and can't find a replacement, the content was probably removed; ask through the site's contact page or search web archives.
If you own the site and every page except the home page returns 404 even after re-saving permalinks, ask your host whether mod_rewrite is enabled; it is sometimes off after a server move.
Don't edit WordPress core files to "fix" 404s, and always back up before making changes.
Frequently asked questions
Do 404 errors hurt my site's SEO?
A few 404s are normal and aren't penalized. The problem is when popular pages or pages with backlinks return 404, or your menu links to broken pages; redirect those.
What is a soft 404?
It's a page that seems to load (status 200) but says "not found" or is nearly empty. Google treats it as a 404 anyway, so your error page should return a real 404 status code.
Related problems

403 Forbidden Error
A 403 means the server understood the request but refuses access. Visitors should clear cookies and try another connection; site owners should check permissions and .htaccess.

502 Bad Gateway Error
A 502 means a gateway such as a CDN or Nginx got a bad response from the site's main server. Visitors should wait and refresh; site owners should check PHP and server services.

WordPress White Screen of Death
A completely blank page means PHP stopped before building the page and the error is hidden. A plugin, theme or memory limit is usually to blame; turn on WP_DEBUG first to reveal the real error.
Terms used on this page
More Internet, Browser & Website Errors problems
All problems Internet, Browser & Website Errors
Last updated: