It can be very frustrating to check all the urls when you have migrated a website. This tool will help you make it easier.
We are not on npmjs.org, so you'll have to do this locally.
# enter src directory
cd src
# install dependencies
npm install
# install as a linked package
cd src
sudo npm link
cd src
node bin/index.js run [--max-failures=<N>] [--max-tests=<N>] [--concurrency=<N>] [-v|-vv|-vvv]
# run from where your config directory is
url-tester run [--max-failures=<N>] [--max-tests=<N>] [--concurrency=<N>] [-v|-vv|-vvv]
Example configuration
profiles:
- name: example_name
enabled: 1
baseUrl: https://www.example.com/
testUrl: https://new.example.com/
urls:
- type: file
format: csv
url: config/urls/example_com.csv
- type: url
format: sitemap
url: https://www.example.com/sitemap.xml
rewrites:
- url: config/rewrites/example_com.csv