SEO

Audit redirect chains and loops

Follow every redirect on the URLs Search Console still sends traffic to, on the sitemap, and on backlinked pages, to find chains, loops, redirects to the homepage, and temporary redirects that should be permanent, so link equity and crawl budget stop leaking.

The playbook

Every hop in a redirect chain costs a little authority and a little crawl budget, and a chain that ends on the homepage or a 404 costs all of it. Chains accumulate silently through migrations, https moves and trailing-slash changes. This playbook finds them on the URLs that still matter.

Sequel supplies the URL lists. Following the redirects uses your own browsing.

Steps

  1. Collect the URLs worth testing. Three sources, deduplicated:

    • Old URLs that still get impressions: google_search_console.query with dimensions: ["page"] over the last 16 months ending 3 days ago, rowLimit: 5000. Search Console keeps about 16 months, and a URL that was redirected a year ago often still appears here.
    • The sitemap, fetched via /robots.txt.
    • If Ahrefs is connected, the url_to column of ahrefs.backlinks with the site as target, limit: 1000. Backlinked URLs are the ones where a chain costs the most.
  2. Follow each URL without auto-following. Request each URL, record the status and Location header, then request the location, up to ten hops. Record the full path. Use sequel_workbench for the loop if you can execute code. State how many URLs you tested.

  3. Classify what you found.

    • Chain: two or more hops. Note the pattern (http to https to www to trailing slash is the classic four-hop chain).
    • Loop: any URL that reappears in its own path.
    • Temporary where permanent belongs: 302 or 307 on a URL that has been moved for good.
    • Redirect to the homepage: Google treats mass redirects to the homepage as soft 404s. These lose the relevance of the original URL.
    • Redirect to an error: chains ending in 4xx or 5xx.
    • Sitemap URLs that redirect at all: the sitemap should list final URLs.
  4. Weight the findings. Attach Search Console impressions and, where available, the number of backlinks pointing at each URL. Sort by that. A four-hop chain on a URL with no impressions and no links is trivia; a two-hop chain on the most-linked URL on the site is the top finding.

  5. Report. A table sorted by weight: original URL, hops, final URL, final status, classification, impressions, backlinks, fix. Fixes are specific: "redirect A directly to D", "change 302 to 301", "replace the sitemap entry with D", "update internal links to D". Then the sitemap findings and the loop list separately, since loops are outages.

Gotchas

  • Use GET, not HEAD. Some servers answer HEAD differently or not at all.
  • A redirect is not automatically wrong. The finding is the chain, the loop or the wrong target, not the existence of a redirect.
  • Do not recommend removing a redirect for a URL with backlinks or impressions. Shorten the chain instead.
  • Trailing-slash and case variants are the most common hidden chains. Test both forms of the top URLs deliberately.
  • Fetch politely. A few hundred requests is fine; add a small delay and stop if the server starts returning 429.

Sequel CLI

Install Sequel skills into your agent

One command connects your agent to Sequel and installs the Sequel skill, so it knows this playbook exists and reads it when a question matches. The CLI signs you in, provisions a scoped API key and writes the config for you.

Already have an MCP client?

https://api.sequel.sh/mcp

Point it at this URL and sign in when prompted, or send an API key from Settings as a Bearer token. Skills come with it; nothing else to install. Manual setup per client

  1. 1

    Install the Sequel CLI

    One line installs the latest CLI with whatever package manager you have.

    curl -fsSL https://sequel.sh/install | sh
  2. 2

    Sign in

    Authenticate in your browser and pick an organization.

    sequel login
  3. 3

    Install into your agent

    Writes the MCP config and installs the Sequel skill file for agents that support skills. Pick an agent from the list, or target one directly by its slug.

    sequel install
    • Claude Code
      sequel install claude-code
    • Claude
      sequel install claude
    • Cursor
      sequel install cursor
    • VS Code
      sequel install vscode
    • Windsurf
      sequel install windsurf
    • Zed
      sequel install zed
    • Codex
      sequel install codex
    • OpenClaw
      sequel install openclaw
    • Hermes
      sequel install hermes

More like this

Other SEO skills

Analyze high-ranking landing pages

See which pages perform best in organic search: the landing pages that earn the most clicks and impressions, the queries behind each one, and how they compare with competitor estimates from Ahrefs.

Audit internal links to important pages

Audit the site's own internal linking: crawl navigation and body links between the site's pages to find valuable pages with too few inbound internal links, orphan pages, and the handful of cross-links that would lift striking-distance rankings.

Audit or draft an llms.txt

Check whether the site has an llms.txt, whether it follows the spec and points at the pages that matter, and if it is missing draft one from the pages Search Console shows people actually find, so AI assistants get a curated map of the site instead of guessing.

Audit referring domain quality

Grade the domains linking to a site by authority, traffic and link count, spot concentration risk and link-farm patterns, and separate the referring domains that carry weight from the ones that are noise.

Audit titles and meta descriptions

Compare the title and meta description of each top page against the queries it actually ranks for in Search Console, and find missing, duplicate, truncated or misaligned metadata on the pages where a rewrite would earn the most clicks.

Backlink profile health check

See who links to the site and whether the backlink profile is healthy: referring domains, authority distribution, anchor text mix, dofollow share and concentration risk from Ahrefs, optionally compared against a competitor.

Put this playbook to work

Connect a source, ask the question, and the agent follows these steps. Free to start.