301 Redirect Generator
Assemble 301 redirect rules for Apache (.htaccess) or Nginx. Add single redirects or paste a whole list at once in bulk mode. 301 redirects protect Google rankings and guide users from old URLs after a structure change or migration. Everything is computed in your browser. More in our article on 301 redirects and 404 errors.
Enter the source path (e.g. /old-url) and the destination (a path or a full URL).
.htaccess above the # BEGIN WordPress block. For Nginx paste into the server { } block and reload the configuration. Point old addresses directly to their destination to avoid redirect chains.

