Free generator, runs in your browser

Free Redirect Rule Generator for nginx & Apache

The Novaverb redirect rule generator turns a list of old and new URLs into nginx, Apache .htaccess or Cloudflare Bulk Redirects rules. Chains, loops and duplicate sources are flagged before you deploy.

Instant, no account Nothing is uploaded Copy or download the result
Your inputRedirect Rule Generator

One rule per line: the old path, then a space, tab or comma, then the new path. Lines starting with # are ignored.

Cloudflare Bulk Redirects needs absolute URLs, so the origin is prefixed to any path you entered.

Resultnginx-redirects.conf
Fill in the fields - your file builds here automatically.
Private by design: this generator runs entirely in your browser - your text is never sent to Novaverb or any server.

Turn output into a monitored workflow

A Novaverb workspace crawls your live site, keeps what it finds, tracks changes over time and turns findings into assigned work.

Start free
Definition

What is a redirect rule generator?

A redirect rule generator is a tool that converts a list of old and new URLs into the redirect syntax a web server understands. The Novaverb Redirect Rule Generator writes nginx, Apache .htaccess or Cloudflare Bulk Redirects rules from a single map, and reads that map for chains and loops before formatting anything.

Scope

What does the redirect rule generator create?

The redirect rule generator creates a rules file for the server you pick. For nginx the output is a map block with a return statement for the server block. For Apache the output is a set of RewriteRule lines for .htaccess. For Cloudflare Bulk Redirects the output is a CSV with source, target and status columns.

Who it is for

Who is the redirect rule generator for?

The redirect rule generator is for anyone moving URLs. An SEO running a site migration holds a spreadsheet of old and new paths and needs deployable rules. A developer changing a URL structure wants exact matches without hand-writing patterns. A site owner renaming a few pages needs the right syntax for the server in use.

Why it matters

Why use a redirect rule generator?

A redirect rule generator catches a broken map before the file reaches the server. A plain formatter will write a chain, a loop or a duplicate source without complaint. This one reports each of those above the output with the exact URLs involved, so the map can be flattened before deployment instead of after a crawl.

Method

How does the redirect rule generator work?

The redirect rule generator works in a fixed order. Paste the map, with the old path and the new path on each line. Pick the server and the status code. The tool parses every line, checks the map for duplicate sources, chains, loops and self-redirects, then writes the rules for copying or download.

Write the map once, get the rules for your server

Paste your old and new paths, pick the server you actually run, and the syntax is generated for you. nginx is offered first because its config is where most redirect mistakes are made - an .htaccess file has no effect at all on an nginx server, which is the single most common reason a redirect map appears to do nothing.

Which status code to use

Use 301 when the move is permanent and you want the old URL's ranking signals to transfer. Use 302 only when the old URL will genuinely come back. 307 and 308 are the strict versions: they keep the request method, so a POST stays a POST instead of becoming a GET. For ordinary page moves, 301 is the right answer.

Chains and loops are checked before the rules are written

If one rule's target is another rule's source, the visitor is sent through two hops and part of the link value is spent on the way. If two rules point at each other, nobody arrives at all. Both are reported above the output, with the exact URLs involved, so they can be flattened before the file reaches the server.

What this tool cannot tell you

  • Whether the target URLs exist. Nothing here is fetched - a rule pointing at a 404 is generated exactly as written.
  • Whether an old URL had traffic or links worth preserving. That comes from your own analytics and Search Console.
  • Whether the rules are being served once deployed. Run the free HTTP Status & Redirect Checker against the old URLs afterwards - a generated rule is an intention, and only a live response is evidence.
Input

What do you enter into the redirect rule generator?

The redirect rule generator takes one rule per line: the old path, then a space, tab or comma, then the new path. Lines starting with # are ignored. A line holding a single value cannot be read as a rule, so the tool skips that line and names its line number in a warning.

Result

What does the redirect rule generator output contain?

The redirect rule generator output contains a rule count, a set of flags and the generated file. Flags name loops and self-redirects as errors, and duplicate sources, chains and unreadable lines as warnings. The file is named nginx-redirects.conf, .htaccess or cloudflare-redirects.csv, depending on the server selected, and can be copied or downloaded.

Reading it

How do you use the redirect rule generator output?

Use the redirect rule generator output only after the flags are resolved. A chain means the target of a rule is the source of another, so point the first source straight at the final target. A loop means nobody arrives, so remove a side. With duplicate sources only the first rule can run, so delete the later lines.

Source

Where does the redirect rule generator run?

The redirect rule generator runs in the browser. Parsing, the chain check and the file generation all happen on the page, and the redirect map is not uploaded. The tool reads only the lines pasted into the form and the options chosen. No old or new URL is requested at any point.

Limits

What does the redirect rule generator not tell you?

The redirect rule generator does not tell you whether a target URL exists, because nothing is fetched. A rule pointing at a missing page is generated exactly as written. The tool also cannot say whether an old URL had traffic or links worth preserving, or whether the rules are being served after deployment.

Evidence

What does a redirect rule generator result prove?

A redirect rule generator result proves the map is internally consistent when no flag is raised: no listed source points at another listed source, at itself or around a loop. The result proves nothing about the live site. A generated rule is an intention, and only a live response from the old URL is evidence.

Standards

Which rules does the redirect rule generator apply?

The redirect rule generator applies the rule syntax of the chosen server: an nginx map with a return statement, Apache mod_rewrite RewriteRule lines, or the Cloudflare Bulk Redirects CSV layout. The status code is 301, 308, 302 or 307. Every rule matches a listed URL, and no folder pattern is generated.

Verification

How can you verify a redirect rule generator result yourself?

Verify a redirect rule generator result by requesting the old URLs once the rules are deployed. Each old URL should answer with the chosen status code and land on the new URL in a single hop. The free HTTP Status & Redirect Checker runs that trace, and a header request from a terminal shows the same response.

Example

What does a typical redirect rule generator finding look like?

A typical redirect rule generator finding is a chain left over from an earlier move. The map sends an old blog path to a newer path, and a later line sends that newer path somewhere else again. The tool prints the full sequence as a chain, so the first source can be pointed straight at the final target.

Cost

Is the redirect rule generator free?

The redirect rule generator is free and needs no account. Every server format, status code and option is available on the page. A free Novaverb account is needed only for what follows deployment: crawling the live site, confirming the redirects are actually served and keeping that evidence over time.

In a workspace

What does a Novaverb workspace add to the redirect rule generator?

A Novaverb workspace adds a crawl of the live site to the rules the redirect rule generator wrote. Crawl Explorer reads the status codes retrieved from the site's own pages and offers a view of status class and redirect health, filtered to the affected URLs. A fix is confirmed by re-crawling, not assumed.

Crawl Explorer (SEO crawler)

When to go further

When is a free redirect rule generator not enough?

A free redirect rule generator is not enough when the question concerns the live site. Chains created by rules already on the server, old URLs the map never listed and redirects that break after a later release are visible only in a whole-site crawl that is repeated over time.

Next step

What should you do after running the redirect rule generator?

After running the redirect rule generator, clear every flag first. Confirm which server the site runs, because .htaccess rules have no effect on an nginx server. Deploy the file, then test the old URLs with the HTTP Status & Redirect Checker. Review analytics and Search Console for old URLs worth adding to the map.

Related tools

The redirect rule generator pairs with the HTTP Status & Redirect Checker, which traces live status codes and redirect chains once the rules are deployed. Text Compare shows every added and removed line between the redirect map already in use and the version about to ship. The XML Sitemap Generator builds a sitemap from the new URLs.

Meta Tag GeneratorFree meta tag generator: build title, description, canonical, robots, …
Robots.txt GeneratorFree robots.txt generator: build a crawl policy file from …
XML Sitemap GeneratorFree XML sitemap generator: build a valid sitemap.xml or …
Word CounterFree word counter: count words, characters, sentences and paragraphs, …
Convert CaseFree convert case tool: switch text between sentence case, …
Schema Markup GeneratorFree schema markup generator: JSON-LD for FAQ, Article, Organization, …
Text CompareFree text compare tool: see every added, removed and …
Image ConverterFree image converter: change up to 20 pictures at …
Image CompressorFree image compressor: shrink up to 20 images in …
Image ResizerFree image resizer: set up to 20 images to …
AI Content CheckerFree AI content checker: measures repeated word forms, sentence …
Plagiarism CheckerFree plagiarism checker: searches the longest sentences of a …
Online HTML EditorFree online HTML editor: write or paste HTML and …
SEO ROI CalculatorFree SEO ROI calculator: turn investment, organic sessions, conversion …
UTM Campaign BuilderFree UTM builder: create a tagged campaign URL from …
Campaign Brief BuilderFree campaign brief builder: turn an objective, audience, offer, …
SEO Traffic ForecastFree SEO traffic forecast: model organic clicks, conversions and …
Content Calendar PlannerFree content calendar planner: turn a topic, audience, format …
Marketing KPI CalculatorFree marketing KPI calculator: work out CTR, CPC, conversion …
Website SEO CheckerHomepage status, indexability, title, headings and links from one live scan
Keyword Research ToolFree keyword research tool: monthly searches, cost per click, …
SERP CheckerFree SERP checker: the organic results for a keyword …
Website Security CheckerFree website security checker: a limited outside check of …
WordPress Security Configuration CheckerFree WordPress security checker: eight public configuration areas on …
Server Response Time CheckerFree server response time checker: one live request from …
Backlink CheckerFree backlink checker: see the referring domains, link totals, …
Robots.txt CheckerFree robots.txt tester: fetch a site's live robots.txt and …
Sitemap CheckerFree sitemap checker: find a site's XML sitemaps from …
Meta Tag CheckerFree meta tag checker: a page's live title, meta …
HTTP Status & Redirect CheckerFree redirect checker: trace every hop of a URL's …
Website MonitorFree website status checker: one live request to your …
HTTP/2 TestFree HTTP/2 test: opens one live TLS connection to …
HTTP/3 TestFree HTTP/3 test: attempts a real QUIC connection to …
Website Performance TestFree website performance test: time one request to your …
GEO CheckerFree GEO checker: retrieve, quote, cite and graph signals …
Core Web Vitals CheckerFree Core Web Vitals checker: real-user LCP, INP and …
PageSpeed CheckerFree PageSpeed checker: a Lighthouse lab audit of a …
Website Safety CheckerFree website safety checker: see whether a URL is …
Knowledge Graph CheckerFree Knowledge Graph checker: look up a brand or …
Keyword Gap CheckerFree keyword gap analysis: keywords a competitor ranks for …
Competitor Top PagesFree competitor top pages tool: a domain's leading pages …
Questions

What do people ask about the redirect rule generator?

Questions about the redirect rule generator cover why nginx is listed before Apache, whether to choose 301 or 302 and what a redirect chain is. Others ask whether a whole folder can be redirected at once, whether the query string survives the redirect, whether the redirect map is uploaded and whether the tool is free.

Why is nginx listed before Apache?

Because most modern hosting runs nginx, and because .htaccess rules are silently ignored on an nginx server - the file sits there looking correct while every old URL keeps returning 404. If you are not certain which server you run, check a response header or ask your host before choosing.

Should I use 301 or 302?

301 for a permanent move, which is nearly always what a site migration or a URL change is. 302 tells search engines to keep the old URL indexed because it is coming back, so using it for a permanent move leaves the old URL in the index and the new one without the signals it should have inherited.

What is a redirect chain and why does it matter?

A chain is when A redirects to B and B redirects to C. The visitor still arrives, but every hop costs time, some crawlers stop following after a few, and a little link value is lost at each step. Point A straight at C. This tool reports a chain as soon as one appears in your map.

Can I redirect a whole folder at once?

This tool generates one rule per URL, which is the safe default: a pattern that moves a folder can catch URLs you did not intend. If you do need a pattern, write it by hand in the generated file and test it against the URLs that must not match.

Does the query string survive the redirect?

Only if you leave the option on. With it on, the generated rules pass the original query string through to the target, which matters for tracking parameters and paginated URLs. With it off, the visitor lands on the clean target URL.

Is my redirect map uploaded?

No. The parsing, the chain check and the file generation all happen in your browser. A redirect map often describes an unreleased site structure, so nothing is sent anywhere.

Is my data uploaded anywhere?

No. This generator runs fully client-side in your browser. Nothing you type is sent to a server, so it is safe to use on private content.

Is it really free?

Yes, with no account. A Novaverb workspace is only needed when you want your live site crawled, the results kept and changes tracked over time.

Copied to clipboard
Check → understand → fix

Turn this check into a verified fix

Every Novaverb free tool is one funnel: run the check, understand the evidence, then fix it and prove it is resolved with a fresh re-check - no invented pass states.