Technical SEO Project
SEO Broken Link Checker
Automating Internal Link Validation Before Publishing
Project Overview
Before publishing new pages, I wanted a simple way to verify that every internal link was working correctly. Manually checking dozens of links is repetitive and easy to miss, especially as websites grow.
I built this Python automation tool to scan a local HTML page, validate each internal link, identify broken pages, and generate a CSV report that can be reviewed before publication.
Questions I Wanted to Explore
- Which internal links return successful responses?
- Which pages are broken or missing?
- Can link validation be automated before publishing?
- Can a simple report reduce manual quality assurance?
Dataset
The project analyses the HTML source of a local webpage and extracts all internal hyperlinks.
Each link is validated using HTTP requests, and the results are compiled into a CSV report containing the page URL, HTTP status code, and validation result.
Approach
- Load a local HTML page using Beautiful Soup.
- Extract all hyperlinks from the document.
- Filter internal links.
- Build complete URLs for validation.
- Send HTTP requests to each page.
- Record the HTTP status code and validation result.
- Export the results as a CSV report.
Key Insights
Automated Link Validation
The tool automatically validates every internal link on the page, removing the need to manually open each destination before publishing.
Improved SEO Hygiene
Broken internal links can negatively affect user experience and search engine crawling. Identifying these issues before publication helps maintain healthier website navigation.
Reusable Marketing Workflow
The project demonstrates how Python can automate repetitive marketing quality assurance tasks and generate reports that are easy to review before content goes live.
What I Learned
This project showed me how Python can automate repetitive SEO tasks that are normally completed manually. Building the tool also strengthened my understanding of HTML parsing, HTTP status codes, and working with external Python libraries.
More importantly, it reinforced how small automation tools can improve marketing workflows by saving time, reducing human error, and creating repeatable quality assurance processes.
Explore the Project
The source code, documentation, and sample output are available on GitHub.
← Back to Projects