404 This Page Could Not Be Found | Fix It Fast

A 404 this page could not be found error shows the server can’t match the URL to a live page; fix the link, redirect it, or restore the page.

A 404 can feel like a small glitch, yet it breaks trust fast. Someone clicks with a goal in mind and lands on a dead end. If they can’t reach the content in a beat, they leave, and you lose that visit.

This guide helps you track down the cause, fix it with clean steps, and cut repeat 404s. You’ll start with quick checks, then move into link repairs, redirects, and server-side fixes that stop the same error from coming back.

Why A 404 Shows Up In The First Place

A 404 status code comes from the server when the requested path doesn’t map to a page it can serve. That can happen even when the page exists in your admin area, since routing rules, caching layers, and URL variants can change what the public sees.

Most 404s fall into a few patterns. Match the pattern first, then apply the right fix. That saves time and avoids random “try everything” changes that create new problems.

Cause What You’ll See Fix
Broken internal link A menu or button lands on a missing URL Edit the link target to the correct page
Moved page or slug change Old URLs from Google or bookmarks fail Add a 301 redirect from old to new
Deleted content One older post is gone with no live copy Restore it, or redirect to the closest match
Permalink structure change Many posts fail after settings edits Rebuild rewrite rules, then add redirects
Server or CDN rule Only certain folders or patterns fail Fix rewrite, firewall, or edge rules

404 This Page Could Not Be Found On WordPress And Beyond

When you see “404 this page could not be found,” you need to learn whether the issue is the URL, the page itself, or the rules that route requests. This quick triage narrows it down without guesswork.

  1. Test the exact URL — Paste it into a private window, then try it on a phone too.
  2. Trim the path — Remove everything after the domain, then add folders back one at a time.
  3. Search your site — Use your site search for the page title to see if it lives under a new URL.
  4. Check publish state — Confirm the post is published and not set to draft, private, or scheduled.
  5. Try a second browser — Extensions and cached redirects can hide what’s going on.

If the page exists in your editor but the public URL fails, routing is a common culprit. On WordPress, permalinks and rewrite rules are frequent causes. On Shopify, a handle change can break older links. On custom stacks, rewrite order or a proxy rule can send valid paths to a 404 handler.

Quick Checks That Catch A Lot Of 404s

  • Verify the host variant — Check www vs non-www and confirm they resolve to the same site.
  • Check trailing slashes — Some setups treat /page and /page/ as different paths.
  • Confirm HTTPS routing — A redirect to the wrong host variant can land on a missing route.
  • Check letter case — Many servers treat /Page and /page as different URLs.

Write down what changes between the working and failing versions of the URL. A single extra folder, a missing slash, or a case difference can point straight to the fix.

Fix Broken Links And Navigation Paths First

Broken internal links are the fastest win because you control them. They can also multiply quickly. One broken menu link can trigger a pile of 404 hits as visitors repeat the same click.

Start with the pages that get the most clicks: header menus, footer links, category tiles, and in-post buttons. Then move into older posts that still get traffic.

Find The Links That Trigger 404 Hits

  • Use analytics landing pages — Filter for URLs that contain your 404 path pattern and sort by sessions.
  • Use Search Console reports — Export “Not found (404)” URLs, then check which ones are linked internally.
  • Run a site crawl — A crawler can list pages that link to missing URLs across your whole site.

Once you have a list, group URLs by pattern. One-off typos need simple edits. Pattern breaks often come from category renames, folder changes, or URL structure edits.

Repair Internal Links Without Creating New Mess

  1. Fix menus and templates — Update navigation items and any hardcoded links in theme files.
  2. Update in-post links — Repair buttons, image links, and internal references inside older articles.
  3. Replace repeated patterns — If many links share the same wrong folder, do a safe bulk replace.
  4. Retest in a private window — Click the repaired links as a logged-out visitor would.

If you migrated content, don’t stop after one pass. Run another crawl after the first fixes. The second sweep usually finds the leftover links that still point to old paths.

Set Up Redirects That Keep Traffic From Hitting A Wall

Redirects turn dead links into working paths. That matters when old URLs still get visits from Google, newsletters, saved bookmarks, or links on other sites. A redirect saves the session and keeps your site from looking broken.

Choose The Redirect Type That Matches Reality

  • Use 301 for permanent moves — Best for pages that have a new long-term URL.
  • Use 302 for short changes — Fits a temporary campaign or a short test window.
  • Use 410 for true removals — Signals the page is gone on purpose and won’t return.

Most site owners will use 301 redirects most of the time. If you renamed a slug, merged two posts, or changed a folder, 301 is the normal choice. If the page is gone with no close match, 410 can be cleaner than sending visitors to an unrelated page.

Build Redirects By Pattern When The Change Is System-Wide

Single redirects work fine for a handful of pages. Larger changes call for pattern rules, since they keep your redirect list short and reduce manual mistakes.

  1. Map old URLs to new URLs — Export old paths and pick a destination for each one.
  2. Match intent, not just topic — Redirect to the page that answers the same visitor goal.
  3. Avoid redirect chains — Point old URLs straight to the final destination in one hop.
  4. Test status codes — Confirm the old URL returns 301 and the destination returns 200.

Redirect chains waste crawl time and slow users. If A redirects to B and B redirects to C, edit the rule so A goes straight to C. Then update internal links so visitors skip redirects altogether.

Common Places To Add Redirects

  • WordPress redirect plugin — Good for logging and bulk rules without touching server files.
  • .htaccess on Apache — Fast for pattern redirects when your host uses Apache.
  • Nginx config — Required on Nginx stacks where .htaccess won’t run.

After you add redirects, clear caches so the new rules apply right away. Then test as a logged-out visitor, since admin sessions can mask caching and redirect behavior.

Check Routing Rules, Caches, And CDN Settings

When the page exists and links are correct, a 404 can still show up due to routing rules or caching layers. This often happens after a host move, a theme swap, a security plugin install, or a CDN change.

WordPress Permalink And Rewrite Fix

  1. Resave permalinks — Go to Settings → Permalinks and click Save without changing fields.
  2. Confirm rewrite access — Make sure the server can write the rewrite file when needed.
  3. Retest post URLs — Open a few posts that used to fail and confirm they return 200.

That “Save” action rebuilds rewrite rules, and it fixes many cases where posts return 404 after a move. If it keeps reverting, the host may block rewrite changes, and you may need to set rules at the server level.

Cache Layers That Can Show A Ghost 404

  • Purge page cache — Clear full-page cache in your caching plugin or host panel.
  • Purge CDN cache — Clear edge cache so old 404 responses don’t stick around.
  • Flush object cache — If you use Redis or Memcached, clear it after major URL changes.

If your site uses a service worker, it can also keep serving an old 404 shell. Check whether your theme or plugin added offline or PWA features, then refresh the worker version when needed.

Server Rules That Can Trigger False 404 Responses

  • Review rewrite patterns — A broad rule can swallow valid URLs before the CMS router runs.
  • Check firewall blocks — Some WAF rules return 404 to hide blocked requests.
  • Verify document root — After a deploy, the public folder can point to the wrong directory.

If the 404 appears only on one device or one region, a CDN edge rule or geo rule may be involved. Turn off the edge rule for a test window, purge cache, and retest the same URL.

Prevent Repeat 404s And Improve The 404 Page Itself

Fixing the immediate issue is step one. Cutting repeat 404s keeps your site cleaner and keeps visitors moving. You want fewer dead links, fewer reroutes, and clearer paths to content that answers what the visitor came for.

Make Your 404 Page Helpful Without Getting In The Way

A custom 404 page can save a session when something slips through. Keep it fast, text-led, and built around helping the visitor recover what they wanted.

  • Add site search — Let visitors search the missing topic in one click.
  • Link to top sections — Offer a short list of main categories or hubs.
  • Show recent content — A small list of fresh posts can catch interest and reduce exits.
  • Offer a report option — Give a simple “report this link” path for real users.

Keep heavy graphics and big banners out of the first screen. If you run ads, keep the first screen focused on helping the visitor recover the path, then place ads later in the layout.

Set A Simple Routine That Keeps 404s Low

  1. Review 404 logs weekly — Sort by hits and fix the top items first.
  2. Crawl after big changes — Run a crawl after redesigns, migrations, and permalink edits.
  3. Add redirects during edits — When you rename a slug, add a 301 right away.
  4. Update old promo links — Check newsletters and social posts that still send traffic.

When you clean up your top 404 URLs, you also clean up the path for visitors coming from older bookmarks and older search results. That’s where you usually see the biggest lift in recovered sessions.

Know Which 404s You Can Ignore

Not every 404 needs your time. Bots hit random URLs all day. Put your effort where it affects real visitors and real referrals.

  • Fix traffic-driving 404 URLs — Start with URLs that show clicks, sessions, or conversions.
  • Fix internal links you control — Any link you publish should never land on a 404.
  • Skip spam paths — Random strings and known attack paths can be left alone.

If you still see “404 this page could not be found” after link repairs and redirects, run triage again from the top. Retest in a private window, purge caches, and confirm the server routes requests to your CMS. When those pieces line up, the error loop usually stops.

One last check: search your own site for the exact string “404 this page could not be found” in templates and plugins. Some themes inject it as a hardcoded header, even when the server response is not a 404. Make sure your 404 page content matches real server behavior, since that’s what browsers and crawlers act on.