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:

curl http://www.example.com/879/

and it might output something like:

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