Every website eventually has broken pages. Products get discontinued, blog posts get deleted and URLs change during redesigns. Handled well, these changes don’t hurt SEO. Handled badly, they waste backlinks, frustrate visitors and leave Google crawling dead ends.

Understanding Status Codes

  • 200 OK: the page loads normally.
  • 301 Moved Permanently: the page has permanently moved; passes signals to the new URL.
  • 302 Found / 307: temporary redirect; use only for short-term moves.
  • 404 Not Found: the page doesn’t exist.
  • 410 Gone: the page was removed deliberately and won’t return.
  • Soft 404: a page that shows “not found” or has no content but returns 200. Google flags these in Search Console.

Are 404s Bad for SEO?

Not automatically. Google expects some 404s, and they don’t hurt your overall site. They become a problem when:

  • Important pages with traffic or backlinks return 404.
  • Your own internal links point to 404 pages.
  • Large numbers of useful pages break after a redesign.

When to Redirect

Use a 301 redirect when there’s a clear replacement:

  • A page moved to a new URL.
  • Two pages were merged.
  • A discontinued product has a close replacement or a relevant category.
  • You moved from HTTP to HTTPS or changed domains.

Don’t redirect everything to the homepage. Google often treats irrelevant redirects as soft 404s, and visitors get confused.

DIT Download Manager

When to Let a Page 404 or 410

If a page has no replacement, no valuable links and no traffic, letting it return 404 or 410 is fine. Spam pages created by hackers should return 404 or 410.

Finding 404s

  1. Search Console: Pages report → “Not found (404)”.
  2. Crawlers: Screaming Frog, Sitebulb or Bing Site Scan find broken internal links.
  3. Backlink tools: Ahrefs or Semrush show broken pages that still have external links. Prioritise these.
  4. GA4: track page views of your 404 template to see which broken URLs users hit.

Avoid Redirect Chains and Loops

A chain happens when URL A redirects to B, which redirects to C. Each hop slows users and can dilute signals. A loop (A → B → A) breaks the page entirely. Update redirects to point directly to the final URL, and update internal links to the final URL too.

How to Set Up Redirects

  • WordPress: Rank Math and Yoast Premium have redirect managers; the free Redirection plugin is also popular.
  • Shopify: Online Store → Navigation → URL Redirects, and automatic redirects when you change a product URL.
  • Server level: .htaccess rules on Apache/LiteSpeed or Nginx configuration, for large-scale or pattern-based redirects.

Create a Helpful 404 Page

A good 404 page reduces lost visitors. Include a friendly message, a search box, links to popular pages and categories, and contact options like WhatsApp. Make sure it returns a real 404 status code.

Redirects During Redesigns and Migrations

Before launching a redesign, export all current URLs (from your sitemap, Search Console and a crawl), map each to its new URL, and implement 301s at launch. Test a sample after going live and monitor Search Console closely for the following weeks.

Final Thoughts

Redirects and 404s are routine website maintenance. Fix broken internal links, redirect pages with value to relevant replacements, avoid chains, and let worthless pages go.

Need a broken link and redirect clean-up? Digital Ranker Pakistan can audit and fix it for you.