Articles

Broken Links and Redirects: How to Fix Them

A broken link, a missing page, and a redirect chain are different problems. Use this guide to find the source, choose the right fix, and check that visitors and search engines reach the correct result. Do not redirect every error to the homepage.

By Lintar Bias PakartiPublished 11 sections

Three paths show repairing an existing link, directing an old URL to a relevant replacement, or returning a clean not-found response.
Repair the source link, use one direct relevant redirect, or return 404/410 when no replacement exists.

What are broken links and redirect chains?

Broken links point to pages that no longer exist, usually returning a 404 error. A redirect chain is a redirect that passes through several URLs before reaching its destination. The fixes differ: update the link to the right URL, add a 301 redirect to a relevant replacement, or keep the 404 when nothing replaces the page.

Want it done for you? I offer website and SEO services.

Start with the right diagnosis

A 404 means the requested page was not found. A 410 means it was intentionally removed. A redirect sends a request to another URL. A soft 404 is an error-looking or empty page that returns 200 OK. A 404 for a URL that never existed is normal; it does not automatically need a redirect.

Why fix broken links?

Broken links interrupt a customer’s next step: reading, contacting, booking, or buying. Internal links that point through redirects add avoidable hops. External sites may still link to old URLs. Fix links you control, and redirect only when the old page has a close replacement. This improves usability and URL consistency; it does not guarantee better rankings.

Find the broken URLs

Use a crawler or site audit tool to export the source page, linked URL, response code, anchor text, and redirect destination. Then check:

  • Search Console Page indexing for Not found (404), Soft 404, and redirect issues. Inspect priority URLs with URL Inspection.
  • Analytics or server logs for old URLs that still receive visits or requests.
  • External backlinks for old URLs worth preserving.
  • Navigation, article links, buttons, language links, and sitemap entries.

Choose the fix: use this decision table

For each URL, ask what happened to the page:

  • The page still exists; the link is wrong → fix the link so it points directly to the working URL.
  • The page moved permanently; a close replacement exists → use one permanent server-side redirect (usually 301 or 308) to the replacement.
  • The move is temporary → use a temporary redirect (usually 302 or 307) while it is temporary.
  • The page was removed and has no close replacement → return a real 404 or 410.
  • The page returns 200 but says “not found” or is blank → restore useful content or return 404/410. Do not leave a soft 404.

Redirect only to a close replacement

The destination must satisfy the need behind the old URL. A renamed service page can redirect to its new version. A deleted article can redirect to a genuinely equivalent guide. If there is no close match, keep a useful 404/410 page with navigation. Redirecting unrelated URLs to the homepage can confuse people and may be treated as a soft 404.

Remove redirect chains and loops

A chain is A → B → C. Change A to point straight to C, and update internal links to C. A loop sends users between URLs until the browser gives up. Check HTTP/HTTPS, www/non-www, trailing slash, capitalization, and old paths. Test the full route. Google recommends sending people directly to the final destination.

Use this migration checklist for a redesign

Before launch, export old URLs and map each to its actual successor. Record old URL, new URL, reason, redirect type, and test result. Prioritize URLs with useful content, traffic, backlinks, or conversions. After launch, update internal links, canonicals, hreflang, and sitemap to the final URLs. Do not send every old URL to one generic destination.

Verify the response, not just the screen

For every changed URL, check HTTP status, Location header, hop count, final page, and mobile experience. A permanent move should reach a relevant page in one 301/308; that page should return 200. A removed page should return 404/410 even if you show a custom error design. Recheck priority examples in Search Console after Google recrawls.

Worked example: an article URL changed

Old: /blog/seo-checklist/. New equivalent: /articles/technical-seo-checklist/. Add one permanent redirect from old to new. Update internal links and sitemap to the new URL. Test that the old URL reaches the new one in one hop and the new page returns 200. If there is no relevant replacement, return a helpful 404 instead.

Final checklist

Before closing the task, confirm:

  • Important internal links go directly to working URLs.
  • Redirects have relevant targets and no loops or unnecessary hops.
  • Removed pages without a replacement return 404 or 410.
  • The custom 404 page is useful and still returns HTTP 404.
  • Sitemap and internal links use final URLs, not redirects.
  • Search Console and a fresh crawl show the expected status after recrawling.

Keep this rule

Fix links you control. Redirect a page only when it genuinely moved to a relevant replacement. If it is gone with no replacement, return 404/410. Test the actual HTTP response.

Find, classify, repair, and verify broken URLs

Work from the source link to the final HTTP response. Do not redirect a URL until you know whether its page still exists, moved, or was removed.

  1. Collect URL evidence

    Crawl the site and record source URL, linked URL, status, anchor text, redirect hops, and final destination. Add Search Console 404/Soft 404 examples, plus old URLs with traffic, backlinks, or conversions.

  2. Classify each issue

    Mark each row: fix source link; permanent move with relevant replacement; temporary move; removed with no replacement; or soft 404. Treat never-existing URLs as normal 404s unless they reveal a broken link or repeated crawl pattern worth fixing.

  3. Apply the matching fix

    Update a wrong link to the final URL. Use a direct 301/308 for permanent moves, 302/307 for temporary moves, and a real 404/410 when there is no close replacement. Restore useful content if a valid page is returning an error.

  4. Flatten paths

    Change each redirect chain to point to the final destination. Update navigation, body links, canonicals, hreflang, and sitemap entries to the final URL. Remove loops and irrelevant homepage redirects.

  5. Test status and content

    Use a crawler, browser developer tools, or an HTTP header checker. Confirm the old URL returns the intended status, the redirect count is minimal, the final page is relevant and returns 200, and the custom 404 returns 404. Test mobile and important user journeys.

  6. Recheck after release

    Run the crawl again and inspect priority URLs in Search Console after recrawling. Record unresolved URLs, owner, and follow-up date.

Mini URL repair log

/old-service/ → /services/new-service/ | 301 | relevant successor | one hop | tested 200
/old-event/ → no replacement | 410 | custom helpful page | no redirect | tested 410
/internal-link-source/ links to /services-old/ → update source link to /services/new-service/

Copy-ready worksheet

Source page: [URL]
Broken/old URL: [URL]
Current status and redirect hops: [status + route]
Visits, backlinks, or business value: [evidence]
Page state: [still exists / moved / removed / soft 404]
Chosen fix: [correct link / 301-308 / 302-307 / 404 / 410 / restore page]
Relevant final destination: [URL or none]
Internal links, canonical, hreflang, sitemap updated: [yes/no + locations]
Test: [HTTP status, hop count, final content, mobile]
Follow-up date and result: [date/result]

Sources

Lintar Bias PakartiI’m Lintar Bias Pakarti, an SEO from Manila, now based in Bali. I build websites and handle SEO for cafes, restaurants, workshops and industrial businesses across Indonesia, so that when customers search on Google, they find you, not your competitor. I do the work myself from start to launch, and if you’re not happy, we refund 100% of your money. The website is still yours. About

All articles

Send me your business name. I’ll build your preview, free.

Just the name and location on WhatsApp. Like what you see, we continue. Don’t, and it ends there at no cost.

Chat on WhatsApp