How to track url redirects in the browser?
- Install FireBug 1
- open firebug
- goto the net tab
- click on the "persist" option
- enter your url
watch the list of urls fetched change. you'll see something like this for your example:
http://example.com/load/ 302 Moved temporarily
http://example.com/load/1/ 302 Moved temporarily
http://example.com/load/2/ 302 Moved temporarily
http://example.com/load/3/ 200 OK
If you select one of those and open the twisty next to ti you can get the headers which will show you exactly what was requested and what the response was. IN particular you want to look at the Location
header on the responses, as that tells your browser what to go load instead.
Footnotes
- Or use any other form of devtools for your favorite browser.
Now, when FireBug is integrated into developer tools you may enable persistent logs by next steps:
- Open DevTools (F12)
- Go into
Toolbox options
(forth icon from right top) - Find
Common preferences
section Enable persistent logs
- Observe network requests and responses under the
Network
tab
Screenshot:
UPD
I update by FF to v61. In this version configuration slightly different:
- Open DevTools (F12)
- Enable
Persists Logs
If you don't want to install firebug, then you can use the Redirect Tracing Tool