An open API service indexing awesome lists of open source software.

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.

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
```