Turn old and new addresses into 301 redirect rules for Apache and Nginx. It runs in your browser: nothing you type leaves your device, and there is no sign-up.
What it does #
Paste one redirect per line, the old path, a bar and the new address. You get ready-to-paste 301 rules for an Apache .htaccess file and for an Nginx server block, in one go. It also catches the mistakes that hurt most after a site move: the same old path listed twice, a page sent to itself, and chains where a new address is itself redirected again.
Useful for:
- Moving a site or changing its address structure.
- Merging old blog posts into one up-to-date guide.
- Handing your developer a clean list of rules instead of a spreadsheet.
How to use it #
- Write one line per page: /old-path | /new-path (or a full https:// address).
- Press Make the rules.
- Copy the Apache or the Nginx block, whichever your server uses.
- Test a few old addresses with the Redirect Checker before and after you go live.
Know the limits #
- It writes the rules; it cannot see your server, so test them on a copy of the site first.
- Addresses with a query string (?id=42) need a different rule type; the plain rules here ignore the part after the question mark.
Private by design #
What you paste or type is worked on by this page in your own browser. It is not sent to URSY or to anyone else, and nothing is kept after you close the page. We only count that the tool was used, never what you put in it.
Questions #
Why 301 and not 302?
A 301 says the page has moved for good, so search engines move the old address's place in results to the new one. A 302 says "for now", so they keep the old address. For a site move or a merged page you want 301.
How long should the redirects stay?
At least a year, and ideally for good. Google advises keeping redirects for at least a year after a move; links from other sites and bookmarks keep using the old addresses for much longer.
I have hundreds of old pages. Do I need to match them by hand?
No. Use the Redirect Mapper first: paste the old list and the new list and it suggests the best new page for each old one. Then paste its output here.
Words to know #
- Redirect
- 301 vs 302 redirect: which to use
- Redirect chain
- How to move a website without losing traffic or email
Related tools #
- Redirect MapperMatch every old address to the best new one, before a site move.
- Redirect Checker
- UTM BuilderAdd UTM tags to a link, so analytics shows which campaign sent each visit.
- Meta + Social Tag GeneratorWrite the title, description, canonical, Open Graph and X card tags for a page.
Page facts checked 24 Nov 2026. Sources: Google Search Central: redirects and Google Search · Google: site moves with URL changes · Apache: mod_alias Redirect
Cite this page: Redirect Generator. URSY. Updated 24 November 2026. https://ursy.com/webmaster-tools/redirect-generator/ · Section links