Skip to content

Simple bash script to check redirections after a migration, from a csv file

License

Notifications You must be signed in to change notification settings

djenvert/test301

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

test301

Simple bash script to check redirections after a migration, from a csv file

	test301.sh mapping-file.csv

The CSV file to use has the following format: source-url;target-url /my/source/folder/page.html;/my/target/folder/page.html

The script generates two report files, one with the URL not redirected, the other one with the URL not redirected to the good target URL. TODO

  • add an option to pass the URL root (domain) as a CLI argument
  • add a check for the final URL (no 404)
  • enhance the output files

About

Simple bash script to check redirections after a migration, from a csv file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages