Testing redirects can be a nightmare since the web browsers aggressively cache redirects. Use incognito mode in Chrome to make it easy to clear cached redirects by closing the Incognito window.
Even Better Update
Testing redirects from the command line works even better.
curl -I http://www.example.com/
will return the headers for the request including the response code (e.g. 200, 404, 301).
Leave a Reply