Skip to content

How to fix a broken link: edit, redirect or remove

Reviewed on November 13, 2026

You've got three options for a broken link: edit it, redirect it, or remove it. Which one is right depends on why it broke.

Which fix to useFind the broken linkCheck where the page wentTypo or old address: edit the linkPage moved: add a 301 redirectPage gone: remove or replace the link
Work out where the link is pointing and why it fails.

Edit the link

Use this when the link is on your own site and the page it points to still exists, just at a different address, or you simply typed it wrong.

Open the page that holds the link and change the address to the right one. That's it. It's the cleanest fix because nothing extra is left running behind the scenes.

MDN says the same: if you can avoid a redirect by correcting internal links, fix those links instead.1

Redirect the old address

Use this when the page has moved and other sites, bookmarks or search results still point to the old address.

Google's advice is to return a 3XX redirect to the new page when a page has moved.2 For a permanent move you'd normally use a 301. See 301 vs 302 redirects.

Why bother, if you've fixed your own links? Because you can't fix everyone else's. Links from other sites are out of your hands, as MDN points out.1

How you set a redirect up depends on your platform. A website builder or content management system may have a screen for it. On other hosting you might edit a server file. Follow your host's own guide, and ask their support if you're unsure.

Remove the link

Use this when the page is gone and nothing replaces it.

A missing page isn't necessarily a problem if it was removed without any replacement.2 The problem is a link that still points there. MDN says website owners should remove or replace links that return a 410 Gone code.3

Ask yourself two things. Does the sentence still make sense without the link? Is there a similar page that serves your reader just as well? If so, point to that instead and you've replaced the link rather than just removing it.

Broken links to other sites

These are yours to fix too, even though the page belongs to somebody else. A target page may simply have been removed.4

Try these in order:

  1. Search for the page title or the topic. The page may have a new address, and you can update your link.
  2. Look for a different page that covers the same ground.
  3. Check whether a saved copy is available. Wikipedia mentions linking to web archives such as the Internet Archive as one approach.4 A saved copy may not match the original, so say that it's an archived copy.
  4. Take the link out and adjust the sentence.

A quick guide

What you found Usual fix
A typo in your own link Edit it
Your own page moved and you still link to the old address Edit the link, and add a redirect too if others link to it1
The page moved and outside sites link to the old address Redirect it2
The page was removed with no replacement Remove the link, or point to something similar3
An outside site's page vanished Find the new address, swap in another page, or remove the link4

Check your work

After each fix, click the link again. Then check the page it sits on for any other links to the same address. The same dead address often turns up in more than one place.

Still hunting for the dead links? Start with the checking guide.

Where the facts come from

  1. Redirections in HTTP, MDN Web Docs
  2. Page indexing report, Google Search Console Help
  3. 410 Gone - HTTP, MDN Web Docs
  4. Link rot, Wikipedia