Skip to content

Tutorials Troubleshooting & errors Beginner1 min read

How to Fix a 404 Not Found Error

What a 404 error means, why pages go missing, and how to fix broken links, permalinks and redirects on any website — including WordPress.

By ZSOLNET Editorial Team Updated

Key takeaways

  • A 404 means one URL is missing — the server itself is working.
  • Redirect moved pages with a 301 to their real replacement, not to the home page.
  • In WordPress, re-saving permalinks fixes most sudden site-wide 404s.

A 404 Not Found response means the web server is working, but it couldn’t find anything at the address that was requested. Your site isn’t down — one URL is.

Common causes

  • The page was deleted, renamed or moved without a redirect.
  • A link (in a menu, an email or another website) contains a typo.
  • The file was uploaded to the wrong folder, or its name has different capitalisation — on Linux servers About.html and about.html are different files.
  • In WordPress, the permalink rules in .htaccess are missing or out of date.

Fix it step by step

  1. Check the URL itself. Look for typos, double slashes or a missing file extension.
  2. Confirm the file exists. In cPanel’s File Manager, open public_html (or the folder for that domain) and check the file is there with exactly that name.
  3. Redirect moved content. If the page now lives elsewhere, add a permanent 301 redirect so visitors and search engines follow it:
# .htaccess — send an old URL to its new home
Redirect 301 /old-page/ https://example.com/new-page/
  1. Rebuild WordPress permalinks. Go to Settings → Permalinks and click Save Changes without changing anything. WordPress rewrites its .htaccess rules.
  2. Find broken links at scale. Google Search Console lists URLs that return 404 under Indexing → Pages. Fix or redirect the ones that still get traffic.
yourdomain.com/wp-admin
  • Dashboard
  • Posts
  • Media
  • Pages
  • Appearance
  • Plugins
  • Users
  • Tools
  • Settings
    • General
    • Reading
    • Permalinks4

Permalinks

Save Changes
4 In WordPress, open Settings → Permalinks and click Save Changes without changing anything to rebuild the rewrite rules.

Make your 404 page useful

Some 404s are inevitable. A good custom 404 page keeps visitors on the site: explain what happened in plain words, add a search box, and link to your most important pages. The server must still return the 404 status code — check with the redirect checker below.

Frequently asked questions

Do 404 errors hurt SEO?

A few 404s for pages that genuinely no longer exist are normal and don’t harm a site. Problems start when important pages or many internal links return 404.

Why do all my WordPress pages show 404 except the home page?

The rewrite rules are usually missing. Re-save Settings → Permalinks, and check that .htaccess exists and is writable.

Share X LinkedIn Facebook

Log in to your account

Manage your domains, hosting and invoices in one place.

Secure connection straight to the ZSOLNET client area.

No account yet?