General Tip: To see the code of a redirect page, use CURL

I was trying to figure out how a website redirected an address to another page, whether it was a meta redirect or a 301. But of course you can’t look at the source code from the browser. Instead, in the command line use:


and it might output something like:

<head><title>301 Moved Permanently</title></head>
<body bgcolor="white">
<center><h1>301 Moved Permanently</h1></center>