Testing HTTP Redirects in PHP
For a task today, I wanted to verify that redirects on a website were working as expected after migrating them from one redirect plugin to another one (yes, this site had 2 enabled). I couldn’t figure out the right invocation to test them using cURL in PHP, even though the documentation seemed straightforward (just set …