This is a PHP script for testing large numbers of automated redirects, e.g. in a set of .htaccess rules.
It is intended for local use only - it does not carry out input sanitisation, so it is not recommended that you put it on public-facing servers.
- Clone this repo into a directory on your local testing web server.
- Set up a CSV file listing the original URLs and the URLs you expect them to redirect to - see the example CSV file provided
- Browse to the place where you've cloned the repo, e.g. http://localhost/redirect-tester/
- Upload your CSV file, and submit the form
- Once the script has finished, it will give you a count and a list of passes and fails