Topic 05 · SEO

HTTP and redirects

Status codes are the first signal a crawler receives. This topic covers 200, 301, 404, 410 and 5xx responses, plus the redirect chains that waste time and link equity.

Priority
Critical
Applies to
All sites
Practical guides
15 written out of 15
0/15 done

Free, no account: your progress is saved in this browser.

Download this topic (PDF) 4 pages · 85 KB

Where to start

Three checks with a strong effect, doable before the rest.

  1. 05.01 Check that active pages return 200 Easy · 1 to 3 h
  2. 05.04 Fix redirect chains Intermediate · 1 to 4 h
  3. 05.06 Fix broken internal links Easy · 1 h to 1 day

The 15 checks of this topic

Click a check to read its guide. Tick the box once it is verified on your site.

Who
Difficulty

1Fix 4xx and 5xx errors

0/6 done
  1. 05.01
    Check that active pages return 200

    List the pages that must be live, check that they all return 200 with no redirect or error, then fix the gaps according to your server or CMS.

    Who: Developer System administrator

    Easy 1 to 3 h
  2. 05.11
    Fix unjustified 403s

    Find the source of 403s on your public pages (WAF, permissions, access rules, S3, plugins) and fix it on Apache, Nginx, Cloudflare, AWS or WordPress.

    Who: System administrator Developer

    Intermediate 1 to 3 h
  3. 05.12
    Fix excessive 429s

    Find which layer returns 429s to crawlers and visitors, recalibrate the thresholds from your logs and fix Nginx, Cloudflare, AWS WAF, WordPress or Laravel.

    Who: System administrator Developer

    Advanced 2 to 4 h
  4. 05.13
    Fix 5xx errors

    Diagnose and fix 500, 502, 503, 504 and 52x errors: logs, PHP-FPM, timeouts, memory, Cloudflare, AWS, WordPress, Laravel, then validate in Search Console.

    Who: System administrator Developer

    Advanced 1 h to several days
  5. 05.14
    Monitor server errors

    Monitor 5xx errors: error rate from the logs, alerts, exception tracking, CloudWatch, Cloudflare, WordPress, Laravel and a Search Console review.

    Who: System administrator Developer

    Intermediate 2 to 4 h, then ongoing
  6. 05.15
    Use 503 during temporary maintenance

    Serve a 503 with Retry-After during maintenance on Apache, Nginx, Cloudflare, AWS, WordPress, PrestaShop, Magento, Laravel or Next.js, without blocking robots.txt.

    Who: Developer System administrator

    Intermediate 30 min to 1 h

2Clean up redirects

0/4 done
  1. 05.02
    Use 301/308 for permanent moves

    Redirect each moved URL with a 301 or 308 to its equivalent on Apache, Nginx, Cloudflare, AWS, Plesk, cPanel, WordPress, Shopify, Laravel or Next.js, and check it.

    Who: Developer System administrator

    Intermediate 30 min to 1 day
  2. 05.03
    Use 302/307 for temporary moves

    Keep 302 and 307 redirects for truly temporary detours, configure them on your server, CDN or CMS, and spot the ones that should be 301s.

    Who: Developer System administrator Marketing

    Intermediate 30 min to 2 h
  3. 05.04
    Fix redirect chains

    Find redirects that follow one another, rewrite each rule so it targets the final URL directly, and align links and sitemap, on server, CDN or CMS.

    Who: Developer System administrator

    Intermediate 1 to 4 h
  4. 05.05
    Fix redirect loops

    Diagnose a redirect loop (ERR_TOO_MANY_REDIRECTS) and fix its cause on Cloudflare, Apache, Nginx, AWS, Plesk, cPanel, WordPress, Laravel or Next.js.

    Who: Developer System administrator

    Intermediate 30 min to 2 h

3Handle broken links and 404s

0/5 done
  1. 05.06
    Fix broken internal links

    Find the internal links that lead to a 404, 410 or 5xx error, fix them at the source (template, menu, content) and stop them from coming back with every release.

    Who: Developer Writer

    Easy 1 h to 1 day
  2. 05.07
    Fix broken external links

    Find outbound links that no longer work, rule out false positives, then replace, archive or remove each link and schedule a regular check.

    Who: Writer Developer

    Easy 1 h to 1 day, then ongoing
  3. 05.08
    Create a helpful 404 page

    Create a 404 page that returns a real 404 code and puts visitors back on track, on Apache, Nginx, AWS, WordPress, Shopify, Laravel, Next.js or your CMS.

    Who: Developer Writer

    Easy 1 to 3 h
  4. 05.09
    Return 404/410 for removed content with no equivalent

    Return a real 404 or 410 for removed content with no replacement, on Apache, Nginx, Cloudflare, WordPress, Shopify or Laravel, then clean up links and sitemaps.

    Who: Developer Writer

    Easy 30 min to 2 h
  5. 05.10
    Avoid redirecting all removed pages to the homepage

    Find mass redirects to the homepage (server, Cloudflare, WordPress plugins, apps) and replace them with targeted 301s or with 404s and 410s.

    Who: Developer Writer

    Intermediate 1 h to 1 day