Skip to content All pages
- What 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.
- 301, 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.
- Redirecting 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.
- Redirecting 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.
- www 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.
- Redirect 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.
- How 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.