Guides
Redirect guides
Everything you need to move a page, a folder or a whole website — whatever it runs on — without leaving visitors (or search engines) stranded.
A1
N1
P1
SEO
!
✓
3xx
.htaccess
Apache recipes for pages, domains, folders, HTTPS, query strings and more — plus how to debug them.ReadNginx
Server blocks, return vs rewrite, and map for thousands of URLs.ReadPHP & platforms
header() done right, WordPress, Laravel, Netlify, Vercel, Cloudflare — and last-resort HTML redirects.ReadRedirects & SEO
Permanent vs temporary signals, chains, soft 404s, and how long to keep them.ReadRedirect mistakes
Chains, loops, 302s, homepage dumps and eight more — how to spot them and fix them.ReadChecklist
Tick through everything to do before, on and after moving day. Saves as you go.ReadStatus codes
301, 302, 303, 307, 308, 410 — what each one means and which to use.ReadA tiny bit of history
Why this site exists.
301site started in 2014, when getting an .htaccess redirect right meant trawling forum posts and hoping. It was one page of snippets for the redirects people needed most. The web’s moved on — HTTPS everywhere, Nginx, Netlify, Vercel, Cloudflare — but the job hasn’t: when something moves, put up a sign.
The original snippets live on, updated, in the .htaccess cookbook.