Redirect Loop Detector
Home/Tools/Link Analysis/Redirect Loop Detector
☍ Link Analysis

Redirect Loop & Circular Chain Detector

v1.0 documentation

Hunt specifically for circular redirects that waste crawl budget, break user experience, and trap search engine crawlers.

URL inputFile inputXLSX export
redirect_loop_detector.py102 lines3 paramsPython 3.8+
Quick start
1

Install

terminal
pip install -r requirements.txt
2

Run

terminal
python redirect_loop_detector.py --urls https://a.com/old https://b.com/page --output loops.xlsx
terminal
python redirect_loop_detector.py --file urls.txt --output loops.xlsx
3

Export

Add --output report.xlsx to save results as a spreadsheet.

Parameters
FlagDescription
--urlsUrls. Multiple values allowed
--fileFile with URLs
--outputOutput
help
python redirect_loop_detector.py --help
Use cases
Link audit
Monthly monitoring
Outreach prep

Run as part of a comprehensive site audit. Identify problems, export to XLSX, and include specific fix recommendations in your report.

Schedule monthly runs and compare XLSX exports to track changes. Catch issues before they impact rankings.

Use the output to identify link building opportunities. Export prospects and feed into your outreach pipeline.

Dependencies

Requires: pandas, requests. All included in requirements.txt.

Get all 154 Python SEO tools — $49

One-time payment. Lifetime access. No monthly fees.
Learn 25 tools and get 25% back. Earn from client work and get 50% back.

Get the full toolkit

AAIO Inc — aaioinc.com/tools/redirect_loop_detector/