Skip to content

A PHP Script that takes a Two Column CSV file and verify if URLs in Column 1 are redirected to URLs in Column 2

Notifications You must be signed in to change notification settings

renecum/redirect-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redirect Tester

A PHP package that takes a two column CSV file and verifies if URLs in Column 1 are redirected to URLs in Column 2 for a given domain.

Notes:

  • The CSV uses only two columns: Source URL, Destination and those have to be relative paths to the given domain.
  • The redirects are tested in a given domain.

Quick Usage:

  • Run composer dump to install dependencies.
  • Edit the examples/index.php file changing the domain and csv path.
  • Run index.php.

Todo:

  • Improve error and exception handling.
  • Add support for non relative paths.
  • Save Report to a file.
  • Allow report to be rendered as redirect are tested.
  • Multi thread for faster execution.

About

A PHP Script that takes a Two Column CSV file and verify if URLs in Column 1 are redirected to URLs in Column 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages