Redirects explained in plain English
Redirect Notes covers how small websites send visitors from one address to another. It explains the common redirect types, http to https and www redirects, and what to do after a rebuild. It also looks at chains, loops and how to check a redirect.
- 1What a redirect is and when a small site needs one
What a website redirect does, how the browser follows it, and the common times a small site needs one.
- 2301, 302, 307 and 308 redirects: what the codes mean
What the four common redirect codes mean, how they differ, and how to pick between a permanent and a temporary one.
- 3Redirecting old pages after a website rebuild
How to map old addresses to new ones after a rebuild, set permanent redirects, and avoid sending everything to the home page.
- 4Redirecting http to https
What an http to https redirect does, why a site keeps both versions of its address, and how HSTS builds on the redirect.
- 5www or no www: picking one and redirecting the other
Why a site can be reached with and without www, how to pick one version, and how to redirect the other to it.
- 6Redirect chains and loops: what they are and how to fix them
What redirect chains and loops are, why a loop shows up as an error, and how to shorten or untangle them.
- 7How to check where a redirect really goes
Simple ways to test a redirect with a browser and the free curl command, and how to read the status code and Location header.