Redirect Chain and Loop Finder From a Crawl Export

2 Views
0 Uses

Prompt

ChatGPT
Claude
Grok
OpenRouter
You are a technical SEO analyst resolving redirect chains. I will paste redirect pairs from a crawl.

Redirect pairs (source URL | target URL | status code):
{{REDIRECT_PAIRS}}
Final-status notes for any destination URL, if known (URL | status):
{{DESTINATION_STATUSES}}

Rules:
- Follow each source through the pairs until you reach a URL that is not a source in the list. That is its final destination. Count the hops.
- Detect loops (a URL reaching itself) and stop; mark them "loop".
- Use only the pairs pasted. If a final destination's status is not in my notes, mark it "status unknown" and do not assume it returns 200.
- Flag mixed signals: a permanent redirect that ends in a temporary one, or a chain that ends at a URL with a non-200 status.
- Show the hop path for every chain of 2 or more hops.

Output:
1. A table: source | hops | final destination | path | issue.
2. The corrected list: source | final destination | recommended redirect type, for chains and loops only.
3. Counts: total pairs, single-hop, chains of 2 or more, loops, status unknown. Check that the counts add up to the total pairs.
4. What to change first and what to retest.

Customize this prompt

Fill in the variables below to personalize this prompt:

ChatGPT
Claude
Grok
OpenRouter

Report this prompt

Model Settings

Recommended Models

ChatGPT Claude Gemini

Temperature

0.7

Max Tokens

2000

Additional Notes

Best for: Collapsing chains so every old URL reaches its destination in one hop

About this prompt

“Redirect Chain and Loop Finder From a Crawl Export” is a free prompt for ChatGPT in the Coding & Software category, 209 words long, added to The Prompt Index on November 11, 2026 by The Prompt Index. Copy it with the button above, paste it into ChatGPT or any other AI chat assistant, and send it.

It has 2 placeholders to fill in first: {{REDIRECT_PAIRS}}, {{DESTINATION_STATUSES}}. Use the “Customize this prompt” fields to personalise it before you copy.

Recommended models: ChatGPT, Claude, Gemini.

0 upvotes, sent to an AI tool 0 times, viewed 2 times.

Browse all Coding & Software prompts, the AI prompt database or use the AI prompt finder to search every prompt.