Content bug · Fix guide

Broken Links on Your Website: How to Find and Fix Every 404

Updated October 22, 2026

A broken link points to a page that no longer exists, usually returning a 404 error. They come from deleted or renamed pages, typos, and site migrations. Find them with a crawler or Google Search Console, then fix each one by updating the link or adding a 301 redirect from the old address to the closest live page.

Quick diagnosis

  • Many 404s after a redesign or platform move: old URLs have no redirects.
  • A single broken menu or footer link: a renamed page or a typo in navigation.
  • Links that work for you but not visitors: links to a staging site or an admin-only page.
  • Links to other sites failing: the external page moved or was deleted.

Causes and fixes

1

Pages renamed or deleted without a redirect

Most common

Changing a product handle, a blog slug or a page URL breaks every link to the old address, including links from Google, emails and social posts.

Fix: Add a 301 redirect from each old URL to the most relevant live page. Every major platform has a redirects setting.

2

Migrations that changed URL structure

Moving between platforms (WordPress to Shopify, Wix to Squarespace) changes URL patterns, such as /product/name becoming /products/name.

Fix: Export the old site's URLs before migrating, map each to its new URL, and bulk-import the redirects.

3

Typos and relative links

A missing slash or a relative link like contact instead of /contact works on one page and breaks on pages in sub-folders.

Fix: Use absolute paths starting with / for internal links and check navigation menus after every edit.

4

Links to staging or admin URLs

Content copied from a staging site, page builder preview or admin panel links to addresses visitors cannot reach.

Fix: Search your content for staging domains, preview, and /admin links and replace them with live URLs.

5

External links that rotted

Pages you link to on other sites move or disappear over time.

Fix: Re-check outbound links a few times a year and update or remove dead ones.

How to find it on your site

  1. 1

    Check Google Search Console

    Pages → "Not found (404)" lists URLs Google tried to crawl that return 404, many of them linked from somewhere.

  2. 2

    Run a crawler

    Screaming Frog's free version crawls up to 500 URLs; filter Response Codes by "Client Error (4xx)" and view the inlinks to see which pages contain each broken link.

  3. 3

    Check what visitors see

    Crawlers read HTML. Buttons and links created by JavaScript, and links that only break at mobile widths, need a rendering scan.

  4. 4

    Fix and redirect

    Update internal links to point directly at the live page, and add 301 redirects for old URLs that still receive traffic or have backlinks.

  5. 5

    Watch for new ones

    Re-crawl after every redesign, migration or bulk product change.

Fixes by platform

Shopify

Changing a product or collection handle breaks old links. Tick "Create a URL redirect" when editing the handle, and manage the rest by searching "URL redirects" in the Shopify admin, which also supports bulk CSV import.

WordPress

WordPress redirects some changed post slugs automatically, but not pages from other plugins or old sites. Use a redirect plugin (Redirection, Rank Math, Yoast Premium) and its 404 log.

Wix and Squarespace

Both have a URL redirects panel (Wix: SEO settings → URL redirect manager; Squarespace: Settings → Developer tools → URL mappings). Add redirects there after renaming pages.

Custom code

Keep redirects in version control and add a link checker to CI so a broken internal link fails the build.

Frequently asked questions

How do I find broken links on my website for free?

Use Google Search Console's Pages report for 404s Google has found, and a free crawler such as Screaming Frog's free version (up to 500 URLs) to list every broken link and the page it is on.

Do broken links hurt SEO?

A few 404s do not hurt rankings on their own, but broken internal links waste crawling, stop link value flowing to your pages, and frustrate visitors. Old URLs with backlinks should be redirected so their value is not lost.

Should I redirect every 404?

Redirect URLs that had traffic or backlinks to the closest relevant page. Genuinely removed content with no replacement can return 404 or 410; redirecting everything to the homepage is treated as a soft 404.

How do I fix a broken link?

If the link is on your site, edit it to point to the correct live URL. If other sites link to the old URL, add a 301 redirect from the old address to the new one.

How often should I check for broken links?

After every redesign, migration, or bulk change to products or pages, and every few months otherwise.