
In this article
A broken link sends a visitor to a "404 page not found" error. One or two are harmless, but dozens signal a neglected site, frustrate customers and waste the time search engines spend crawling it. Finding and fixing them is one of the cheapest improvements you can make to a website.
This guide applies to every platform, including WordPress, Shopify, Wix, Joomla, Magento and custom-built sites.
What is a broken link?
A broken link points to a page, file or image that no longer exists or can no longer be reached. There are two kinds:
- Internal broken links point to pages on your own site, usually after a page was deleted, renamed or moved.
- External broken links point to other websites that have since changed address or disappeared.
Why broken links matter for SEO
- Visitors leave. A dead end at the moment of interest costs sales and sign-ups.
- Crawl budget is wasted. Search engines spend part of each visit on error pages instead of your good ones.
- Link value is lost. If other sites link to a page that now errors, the ranking benefit of that link is lost.
- Quality signals suffer. A site full of errors looks unmaintained, to people and to search engines.
One broken link will not sink your rankings. A pattern of them is worth fixing.
Step 1: find the broken links
- Run the broken link checker on a page. It lists every link and image that returns an error, and the page it was found on.
- In Google Search Console, open Pages and look for "Not found (404)" to see the addresses Google has tried and failed to load.
- Check pages that other sites link to. Those matter most, because they bring visitors and link value.
Step 2: choose the right fix
- The page moved: add a permanent (301) redirect from the old address to the new one. You can test it with the redirect checker.
- A very similar page exists: redirect to that page.
- The content is gone for good: let the address return 404 or 410, and remove or update links that point to it. Do not redirect everything to the home page, because search engines treat that as a soft error.
- The link has a typo: correct the link itself.
- An external site disappeared: remove the link, or replace it with a current source.
Step 3: make your 404 page useful
Some visitors will still arrive at missing pages. A helpful 404 page has a short message, a search box and links to your main sections. Make sure it really returns a 404 status, not a normal 200 page. The HTTP status and header viewer shows what your server sends.
Step 4: keep your sitemap clean
Your XML sitemap should list only live pages that return 200. Remove deleted or redirected addresses, or generate a new one with the sitemap generator, then resubmit it in Search Console.
How to stop new broken links
- Before deleting or renaming a page, set up the redirect first.
- Keep address (URL) structures stable when you redesign or change platforms, and map every old address when you migrate.
- Check links after each major content or site change.
- Run a regular scan, monthly for most sites, and review the results.
Common questions
Do 404 errors hurt my rankings?
Not on their own. Google expects some missing pages. Fix the ones that have inbound links, appear in your own navigation or in the sitemap.
Should I redirect every 404 to the home page?
No. Redirect only to a closely related page. Mass redirects to the home page are usually treated as soft 404 errors.
Can broken links be a sign of a hack?
Sometimes. If pages you did not create appear, or links point to unfamiliar sites, run a malware check.
Free tools for this problem
- Broken link checker: Find 404s, server errors and redirecting links on a page.
- Redirect checker: Trace every hop of up to 10 URLs.
- XML sitemap generator: Crawl up to 100 pages and download a ready-to-upload sitemap.xml.
