• Skip to primary navigation
  • Skip to main content
Sal Ferrarello
  • About Sal Ferrarello
  • Draft Posts
  • Speaking
  • Connect
    Twitter GitHub
You are here: Home / Dev Tips / Testing Redirects

Testing Redirects

Last updated on January 28, 2014 by Sal Ferrarello

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).

Share this post:

TwitterFacebookLinkedinEmailReddit

Filed Under: Dev Tips Tagged With: redirects

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Copyright © 2019 · Bootstrap4 Genesis on Genesis Framework · WordPress · Log in