Skip to content
Nazmul Nikhil
Menu

Broken Redirect (Ahrefs): Fix Redirects That Lead to Errors

A broken redirect sends visitors and crawlers to a page that returns an error. Here's how to find where each one should point and fix it on any platform.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 2 min read
Broken Redirect (Ahrefs): Fix Redirects That Lead to Errors
Photo: Fr0ggy5 on Unsplash

In short

Ahrefs flags "Broken redirect" when a URL redirects to a page that returns a 4xx or 5xx error. Visitors land on an error, and any link value the old URL had is lost. Fix it by pointing the redirect at a working, relevant page, or by restoring the target. Then update internal links to go straight to the final URL.

A redirect is supposed to send people somewhere useful. A broken redirect sends them to an error page instead.

Common causes

Cause Example
The target page was deleted later /old-service/ redirects to /service/, which was removed
A typo in the redirect rule Redirect to /serivces/ instead of /services/
Wrong pattern in a wildcard rule A rule rewrites /blog/* to a path that doesn't exist
Target moved again without updating the first redirect A one-hop redirect became a dead end

How to fix it

  1. For each flagged URL, check the final destination and its status code (the Ahrefs report shows both).

  2. Decide the right target: the page's replacement, the closest relevant page, or a restored page.

  3. Edit the redirect to point there directly.

  4. Update internal links and sitemap entries to the new final URL.

WordPress: edit rules in Rank Math's Redirections module, Yoast SEO Premium's redirect manager, or the Redirection plugin. Also check .htaccess for hand-written rules.

Shopify: Content > Menus > URL redirects. Edit the "Redirect to" value.

Webflow: Site settings > Publishing > 301 redirects.

Wix: the URL Redirect Manager under the SEO dashboard > Tools and settings.

Custom builds: check server rules (.htaccess, nginx) and any redirect table in your app. Test each with:

curl -sIL https://example.com/old-url/ | grep -iE "^(HTTP|location)"

Common mistakes

  • Pointing everything to the home page. Google can treat this as a soft 404. Choose a relevant page.

  • Fixing the redirect but leaving internal links to the old URL.

This guide isn't affiliated with or endorsed by Ahrefs.

Sources and references

TAGSAhrefs Site AuditBroken redirectRedirect to 404Ahrefs broken redirect
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Site Audit Issues posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com