Follow and show the redirect chain of a URL
check redirect chain curl | too many redirects debug | http to https www redirect test | curl | redirect | seocurl -sSIL http://example.com/ | grep -iE '^(HTTP/|location:)'Follows all redirects with -L and shows the status line and the target from the location header for each hop. This reveals double redirects, for example first to https and then to www, which are better handled in one step. In an endless loop, curl gives up after 50 redirects.
Also searched as
- check redirect chain curl
- too many redirects debug
- http to https www redirect test