See full redirect path and HTTP status code in Chrome
I'm trying to find out of a certain link shorteners and out.php linkscripts redirect us开发者_运维百科ing 301 redirect or not. I'm looking at the resources tab in Chrome's developer tools, but it only shows headers for the target page and not for the link scripts itself.
Also, some of the sites I'm investigating actually redirect more than once, so it'd be best if I could track the entire redirect path.
How can I see if how I was exactly redirected, and if they were using 301 or not?
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.
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.
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
精彩评论