https://github.com/aditi-rani/redirect-chain---loop-detector
It checks if a URL goes through multiple redirects and alerts if there’s a chain or loop, which are harmful for SEO.
https://github.com/aditi-rani/redirect-chain---loop-detector
python3 requests-library-python seotool
Last synced: 2 months ago
JSON representation
It checks if a URL goes through multiple redirects and alerts if there’s a chain or loop, which are harmful for SEO.
- Host: GitHub
- URL: https://github.com/aditi-rani/redirect-chain---loop-detector
- Owner: Aditi-Rani
- License: mit
- Created: 2025-05-15T01:38:21.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-05-15T01:42:37.000Z (5 months ago)
- Last Synced: 2025-06-15T09:36:22.723Z (4 months ago)
- Topics: python3, requests-library-python, seotool
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🔁 Redirect Chain & Loop Detector
A simple Python CLI tool to detect HTTP redirect chains and loops. Useful for SEO audits and performance optimization.
---
## ✅ Features
- Detects:
- Multiple HTTP redirects (redirect chains)
- Potential redirect loops
- Shows:
- HTTP status codes (301, 302, etc.)
- Intermediate URLs in the redirect chain
- Helps improve crawl efficiency and page speed for SEO---
## 🚀 How to Run
### 1. Clone the Repository
```bash
git clone https://github.com/Aditi-Rani/Redirect-Chain---Loop-Detector
```
```bash
cd redirect-checker
```
### 2. Install Dependencies
```bash
pip install -r requirements.txt
```
### 3. Run the Script
```bash
python redirect_checker.py
```
### 4. Enter a URL
```bash
🔗 Enter the URL (with https://): https://example.com
```