Redirect Rules Generator

Generate 301 redirect rules for Apache .htaccess, Nginx, and Netlify from old/new URL pairs. Essential for site migrations, URL cleanup, and SEO preservation.

Advertisement
Daily uses: 0 / 10 free  Upgrade for unlimited →
0 redirects entered

You've used 10 free runs today

Upgrade to Pro for unlimited generation and no ads.

Upgrade to Pro – $9/mo
Resets at midnight · Cancel anytime
Advertisement

How to use this tool

  • Select your server format — Apache .htaccess, Nginx, or Netlify.
  • Enter your old and new URLs — one pair per line, space separated.
  • Old URL should be the path (e.g. /old-page) and new URL the full URL.
  • Click Generate Rules — copy and paste into your server config file.

Why 301 redirects matter for SEO

A 301 redirect tells Google that a page has permanently moved to a new URL. It passes approximately 90-99% of the original page's ranking power (PageRank) to the new URL.

Without proper redirects during a site migration, you lose all your existing rankings. Always set up 301 redirects before changing URLs or restructuring your site.

Advertisement