Alternative Information Directory
Coronavirus information & resources
Vaccines - What You Need To Know

Broken Link Checker

broken link

I got fed-up on waiting well over a YEAR (more like 2 i think) for the developer of the WordPress plugin, Broken Link Checker, to fix his/her buggy-ass code, and so i wrote my own buggy-ass code :)

I gave my script the same name as the WordPress plugin just to poke them in the eye a bit (fully expecting i may have to change it in the future after an obligatory refusal period).

Broken Link Checker is a bash shell script (think Linux - i don't do windows) that will extract all URLs from a plain text, XML or HTML file, or a database export file from ClassicPress or WordPress blogs, and check each one using curl, then write the broken links to a text file. The file output by Broken Link Checker can then be processed with Broken Link Replacer to replace the broken links.

Lastly, another tool, Dirty Link Scrubber, can clean garbage from URLs, such as Google tracking parameters, and convert a few encoded characters to their plain text equivalents.

The scripts are on my Codeberg repository.

Feel free to report bugs or feature requests either here or on the repo.

Leave a Reply

Your email address will not be published. Required fields are marked *