Redirect rule generator
List the old addresses and where they now go. Get the rules for Apache, Nginx, Netlify or Vercel, ready to paste into your server. Everything is built in your browser, and no account is needed.
Redirects
Old address on the left, new address on the right. Use a path such as /old-page, or a full address.
1
Which code should I use?
301 Permanent. The page has moved for good. Use this for most redirects.
308 Permanent. Permanent, and the request method is kept. Rarely needed for pages.
302 Temporary. Temporary move. Search engines keep the old address.
307 Temporary. Temporary, and the request method is kept.