Skip to content

malcomio/redirect-tester

Repository files navigation

redirect-tester

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.

Usage

  1. Clone this repo into a directory on your local testing web server.
  2. Set up a CSV file listing the original URLs and the URLs you expect them to redirect to - see the example CSV file provided
  3. Browse to the place where you've cloned the repo, e.g. http://localhost/redirect-tester/
  4. Upload your CSV file, and submit the form
  5. Once the script has finished, it will give you a count and a list of passes and fails

About

Script for automated redirect testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published