Old to new URL pairs as .htaccess, Nginx, Vercel, Netlify, Cloudflare and Next.js rules. Runs entirely in your browser, so nothing is uploaded.
6 answers to what people ask most about the Redirect Rules Generator.
A 301 says the page moved permanently, so search engines move its rankings to the new URL. A 302 says the move is temporary and the old URL should stay indexed.
They are the modern versions of 302 and 301 that keep the request method, which matters for forms and APIs. Next.js and Vercel use 308 and 307 by default.
Turn on RewriteEngine and add a RewriteRule with [R=301,L] for each old path. Paste the Apache output at the top of the .htaccess file in your site root.
When one redirect leads to another, such as A to B to C. Each hop slows visitors and can lose link value, so the tool flags chains and suggests pointing A straight at C.
Yes, by default the original query string is passed to the new URL on Apache, Nginx, Vercel, Netlify and Next.js. Rules that match a specific query drop it unless the new URL has its own.
Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.
Something not working? Tell us and we'll fix it.
Report an issueTitle, description, Open Graph and Twitter tags with live length checks.
See your page in Google results, cut off by real pixel width.
Preview link cards on X, Facebook, LinkedIn, Slack, Discord, WhatsApp and more.
Build JSON-LD for FAQ, Product, Article, LocalBusiness, Event and more.