Skip to content
uxTools
Developer

Redirect Rule Generator

Turn a list of old/new URL pairs into ready-to-paste redirect rules for Apache, Nginx, Netlify and Vercel.

Status code

Redirect rules

Source (from)Destination (to)
Output .htaccess
Redirect 301 /old-blog /blog
Redirect 301 /team /about/team
Redirect 301 /shop https://store.example.com

3 active rules

About this tool

Enter your paths, choose the status code (301 permanent, 302 temporary) and the target server, and the tool rewrites your shared rule list into the exact format each platform expects. Paths are normalized automatically (a leading slash is added, trailing slashes are stripped) and escaped per server. Absolute URLs are preserved as-is for cross-domain redirects. Empty or half-filled rows are left out of the output.