Free tool · runs in your browser

Redirect Generator (301)

In every relaunch, the redirect table decides whether rankings survive. Old URL on the left, new URL on the right – the generator builds the rules for your web server so you don’t have to look up the syntax. You can also paste two lists from the old and new sitemap and let the tool pair them by slug. For a WordPress to Astro move you get rules for Apache, Nginx or astro.config.mjs, optionally including WordPress leftovers such as the feed and wp-login.php.

301 Redirect Generator

Generate redirects for Apache, Nginx and Astro

Paste ready-made pairs, or let the tool match two URL lists (old and new) by slug. Everything runs in your browser.

Input
Output format

Goes into the .htaccess in the web root, above the WordPress block. Order matters: more specific paths first, because Redirect also applies to all sub-paths. Afterwards, test each old URL once in the browser.

# Enter redirects above …

Your URLs never leave the browser – the rules are generated locally via JavaScript.

Everything is generated locally in your browser. Nothing you enter is transmitted to our server.

More tools