Home / Fix guides / Broken links, errors and uptime

How to fix broken external links on your website

A broken external link points from your site to a page on someone else's site that no longer works. Find them with a free link checker, then update each one to the new address, swap it for another source, or remove the link.

You link to a supplier, a news article, a partner or a government form. Months later that page is moved, deleted or the whole site is gone. Your visitor clicks and lands on a 404 error, a blank browser error or an unrelated page. Nothing is wrong on your own site, but it looks like it is.

This happens to almost every website that has been around for a while. The links did not change. The world they pointed to did.

What broken outbound links look like

Visitors usually see one of these after clicking:

  • A "404 Not Found" or "Page not found" message on the other site
  • A browser error saying the site cannot be reached or the server was not found (the domain has expired or been shut down)
  • A "500" or "503" server error (may be temporary)
  • A page that loads but has nothing to do with what you promised (the domain was sold or the content was replaced)

This page is about links leaving your site. If the broken page is on your own site, see 404 page not found instead.

Why it matters

Trust. A dead link in a how-to guide or a resources page makes the page feel neglected. If the link was to a booking tool, a payment partner or a product you resell, you may lose an actual sale.

Search. A handful of broken links will not usually wreck your rankings. But a page full of dead links is a poorer page for the reader, and search engines aim to reward pages that help people. It is a quality signal worth keeping clean.

Security. This one is less known. When a domain expires, anyone can register it. A link you placed years ago to a trusted site can end up pointing to spam, adult content or a scam page, and your site is the one sending people there.

How to check if your site has it

You do not need to pay for anything to get a first list. Several real free options:

  • W3C Link Checker (validator.w3.org/checklink): paste a page address and it tests every link on that page. Good for one page at a time.
  • Screaming Frog SEO Spider: a desktop crawler whose free version checks up to 500 URLs. Crawl your site, then look at the response codes for external links and filter for 4xx and 5xx.
  • Check My Links: a Chrome extension that highlights good and broken links on the page you are viewing.
  • A WordPress link checker plugin: the plugin called Broken Link Checker is well known. Some hosts dislike it because it can use a lot of server resources, so consider running it for a while and then deactivating it.

A few results will be false alarms. Some big sites (LinkedIn, for example, is known to return an odd code like 999) block automated checkers while working fine for people. Always open a flagged link in your own browser before changing it. Also try it again later, because a 500 or 503 can be a short outage.

SiteMonday's week 6 service (Broken links and 404 sweep) also looks for broken links and puts them in a ranked fix list with a written report.

How to fix them

For each broken link, decide which of these fits. Work through the most visited pages first.

  1. The page moved. Visit the other site's homepage and search for the topic, or search the web for the page title. If you find the new address, paste it into your link. Use the final address (with https://), not an old one that redirects.
  2. The page is gone but the topic matters. Replace it with another good source. Check that the new page says what your sentence claims.
  3. The page is gone and an old copy helps. You can search the Wayback Machine (web.archive.org) and link to a saved copy. Use this sparingly, since archived pages can be incomplete.
  4. The link no longer adds value. Remove the link but keep the text. This is perfectly fine.
  5. The whole domain is dead or hijacked. Remove the link straight away, and do not leave it for later.

Note that adding nofollow or sponsored to a link does not fix it. Those only describe the relationship to search engines. The visitor still hits the dead page.

You cannot set up a redirect for someone else's page. Redirects only work on pages you control.

Where to edit the link on common platforms

Exact menus depend on your version, theme or template, but the idea is the same everywhere: open the page or post that holds the link, select the link text, edit the address, and save or publish.

  • WordPress: edit the page or post in the block editor, click the link text, then the edit (pencil) icon. Links can also sit in widgets, menus and theme settings. See the WordPress guide.
  • Shopify: links live in product descriptions, pages, blog posts, and in navigation menus (the location depends on your Shopify admin version). See the Shopify guide.
  • Wix, Squarespace, Webflow: edit the link in the page editor by selecting the text or button and opening its link settings. Footers and headers are often shared, so one fix can cover every page.
  • Drupal and Ghost: edit the content item, and also check menus, blocks and site-wide settings such as footer links or Ghost navigation.

Do not forget buttons, images, footers, sidebars, email signup thank-you pages and old blog posts. Links hide in all of these.

How to confirm the fix worked

  1. Click each updated link yourself in a private browser window and make sure it loads the right page.
  2. Run the same checker again on the same pages. The broken links you fixed should no longer appear.
  3. If you use a crawler, re-crawl the whole site, because the same dead link is often repeated on many pages (for example in a footer).
  4. Keep the first list. Tick off each item so nothing is forgotten.

How to stop it coming back

You cannot stop other sites from changing, but you can make it much less painful.

  • Check on a schedule. Run a link check every few months, or after a big content update. Put a reminder in your calendar.
  • Link to stable pages. A company's main page or a government's official guidance page tends to last longer than a news story or a PDF buried deep in a site.
  • Link less. Only link when the destination really helps the reader. Fewer links means fewer to maintain.
  • Keep a note of key partner links, such as booking, payment and supplier pages, and test them whenever you hear that the partner has changed their website.
  • Check before you redesign. Redesigns are a common time for pages to move, on your site and on partners' sites.
  • Know who owns the job. Decide whether you, a staff member or your developer handles link fixes. SiteMonday finds and explains problems, and fixing them is up to the site owner or their developer.

If your visitors are hitting errors on your own pages as well, a website monitoring setup can help you notice sooner.

Step by step for your platform

Questions

Do broken external links hurt my SEO?

A few will not usually cause a ranking drop, but they make the page less useful and look neglected. It is best to fix them, especially on important pages.

How often should I check for broken outbound links?

Every few months is a sensible routine for most small sites, and again after any large content change or redesign. Busy blogs and resource pages may need it more often.

Why does a checker say a link is broken when it works for me?

Some sites block automated tools or respond slowly, which shows up as an error. Open the link in your browser and test it again later before changing anything.

Should I just remove every broken link?

Not always. If you can find the new address or a good replacement source, the page stays more helpful. Remove the link when nothing suitable exists, and keep the surrounding text.

Can I redirect a broken link to another site's page?

No, redirects only work on pages you control. For an outbound link, you have to edit the link on your own page.

Is a link to an expired domain dangerous?

It can be. If someone else registers the expired domain, your link may send visitors to spam or scam content, so remove or replace it quickly.

Related problems