Redirect Generator

Generate .htaccess and Nginx redirect rules

Full URL or path starting with /
Full destination URL with protocol
Enter your domain without protocol
One redirect per line. Type is optional (defaults to 301).

Redirect Chain Warnings

Live Preview
->

Apache .htaccess

Nginx

WordPress

Cloudflare _redirects

Vercel (vercel.json)

Help & Guides

How to Use This Tool FAQ