-
Notifications
You must be signed in to change notification settings - Fork 10
CheatSheet
Osvaldo edited this page Nov 8, 2017
·
4 revisions
tail -f httpResponses.csv
wc -l httpResponses.csv
more httpResponses.csv
To test the redirections and URLS of your site before going live.
On your Mac edit /etc/hosts
sudo pico /etc/hosts
At the end of the file add a line with the IP and domain/subdomain of your (not yet launched) site:
35.195.30.204 www.greenpeace.org
Save the file.
Clear your browser and computer's cache:
sudo dscacheutil -flushcache;sudo killall -HUP mDNSResponder
./check-my-pages -urls=crawledurls.csv -cssjspattern -mediapattern -pattern='http://.*'