38

When I type http://example.com/load/ in my browser and press ENTER, this website redirects me to http://example.com/load/1/, from there to http://example.com/load/2/ and then I finally landed on http://example.com/load/3/.

These redirection happens at the website end, I am not aware where I am going. But I finally landed on this URL: http://example.com/load/3/.

I want to track all the URLs my browser sees. I am not seeing it in my history as its redirect at website end. Is there any firefox addon or some tool which can track this for me?

migrated from stackoverflow.com Feb 5 '11 at 21:46

This question came from our site for professional and enthusiast programmers.

  • 1
    you may use fiddler for all your network needs – krishna Jun 26 '12 at 12:44
42
  1. Install FireBug 1
  2. open firebug
  3. goto the net tab
  4. click on the "persist" option
  5. enter your url
  6. 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

  1. Or use any other form of devtools for your favorite browser.
19

Now, when FireBug is integrated into developer tools you may enable persistent logs by next steps:

  1. Open DevTools (F12)
  2. Go into Toolbox options (forth icon from right top)
  3. Find Common preferences section
  4. Enable persistent logs
  5. Observe network requests and responses under the Network tab

Screenshot:

enter image description here

UPD
I update by FF to v61. In this version configuration slightly different:

  1. Open DevTools (F12)
  2. Enable Persists Logs

enter image description here

  • 1
    This is what I'm looking for, it help me to track HTTP request and response before redirecting/reloading/new_page. Thanks! – LiuYan 刘研 Jun 18 '17 at 4:42
11

If you don't want to install firebug, then you can use the Redirect Tracing Tool

3

Also you can use https://redirectinspector.com/ or other similar product with additional features - like trace redirects from different device types or from different countries (it's very usefull for testing CPA links etc...)

1

redirectdetective.com not works with SSL connection (https://) but i have find: WhereGoes? - A tool for tracing the redirect path of URLs.

0

just do wget on that URL and you will see the redirect URL in the command-line.

  • This question has already been answered, and your answer is rather light on details. Better answers with more information can be good, even when late, but this one is being down voted for these reasons. – music2myear Jun 12 at 19:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.