RSSAmplifier

Daniel Siepmann - Coding is Art - All Blog Posts · Sep 20, 2023

Check URLs for error codes

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

I sometimes have a list of URLs and want to check their status code. One use case are updates of a TYPO3 system where I want to check that all the detail pages (e.g. products, authors, etc.) are working. The web server would return a 200 response in case everything is fine, and a 500 in case of issues. This short code snippet will check a list of URLs from a file and return all the URLs with their…

Read on daniel-siepmann.de

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.