free seo tools
SEO.to / 18

Redirect generator

Paste the old URL and the new URL, pick your server, and copy the rule. Uses a 301 by default because permanent moves should say permanent.

Test the live result with the redirect checker.

Which status code

301 means the move is permanent and signals pass to the new URL. Use 302 or 307 only for moves you plan to reverse. A temporary code used permanently makes search engines guess.

The four syntaxes

ServerRule
ApacheRedirect 301 /old https://example.com/new
nginxreturn 301 https://example.com/new; inside a location block
Netlify/old https://example.com/new 301 in _redirects
CloudflareA bulk redirect list with source, target and 301

Next