RankKit

301 Redirect Generator (.htaccess & Nginx)

Convert a list of old → new URLs into 301 redirect code for Apache, Nginx and WordPress.

About this tool

Migrating a site? Paste old and new URLs and get ready-to-use 301 rules for .htaccess, Nginx and a CSV for the WordPress Redirection plugin.

How to use the Redirect Rules Generator

  1. Paste one redirect per line.
  2. Copy the format you need.
  3. Add the rules to your server.
  4. Test with the Redirect Checker.

Frequently asked questions

Why 301?

It signals a permanent move and passes ranking signals to the new URL.

How many redirects can I add?

Hundreds are fine for .htaccess; use a plugin or server map for thousands.

Related tools