See full redirect path and HTTP status code in Chrome

后端 未结 3 1370
离开以前
离开以前 2020-12-29 00:49

I\'m trying to find out of a certain link shorteners and out.php linkscripts redirect using 301 redirect or not. I\'m looking at the resources tab in Chrome\'s developer too

相关标签:
3条回答
  • 2020-12-29 01:11

    Since 2014

    At the top of Chrome's inspector (in the Network tab) is a checkbox which says Preserve log. Enable this option. Now it doesn't matter at all how the page navigates, the inspector will keep all log history -- including the redirect response.

    Older versions of Chrome

    At the bottom of Chrome's inspector (in the Network tab) is a button with a big circle. Hover over this button and a tooltip says Preserve log upon navigation. Click the button and it will turn red. Now it doesn't matter at all how the page navigates, the inspector will keep all log history -- including the redirect response.

    0 讨论(0)
  • 2020-12-29 01:11

    I had the same issue and found the solution differed slightly to previous answers.

    I had to select Other for the document type in the filter bar, as well as have preserve log ticked and record network log on.

    0 讨论(0)
  • 2020-12-29 01:16

    In Chrome's developer tools - select "Resources" - then under either "Documents" or "Other" you should be able to find the original request- view the "Headers" to see status code of 301. There's a great article here - http://www.html5rocks.com/tutorials/developertools/part1/#toc-resources

    0 讨论(0)
提交回复
热议问题