Free generator, runs in your browser

Free Redirect Rule Generator for nginx & Apache

Turn a list of old and new URLs into nginx, Apache .htaccess or Cloudflare Bulk Redirect rules, with chains and loops 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, verifies these tags and files are actually served, tracks changes over time, and turns findings into assigned work.

Start free
How to use it

Redirect Rule Generator

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.
Common questions

Redirect Rule Generator FAQ

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 to verify, monitor, and track these files on your live site over time.

More free tools

Explore all Novaverb Free Tools

Meta Tag GeneratorCreate valid SEO meta tags for titles, descriptions, canonicals, …
Robots.txt GeneratorCreate and test a plain RFC 9309-aligned robots.txt with …
XML Sitemap GeneratorCreate a valid XML sitemap or sitemap index from …
Word CounterCount words, characters, sentences, paragraphs and reading time instantly. …
Convert CaseConvert text to sentence case, lowercase, UPPER CASE, capitalized …
Schema Markup GeneratorBuild valid JSON-LD structured data for FAQ, Article, Organization, …
Text CompareCompare two blocks of text and see every added, …
Image ConverterConvert up to 20 browser-supported images to JPG, PNG, …
Image CompressorCompress JPG, PNG, WebP and AVIF images in your …
Image ResizerResize up to 20 JPG, PNG, WebP or AVIF …
AI Content CheckerCheck writing signals associated with AI-generated text in a …
Plagiarism CheckerFind potential matching sources for selected sentences via a …
Online HTML EditorWrite and edit HTML with an instant live preview, …
SEO ROI CalculatorEstimate organic conversions, gross profit, monthly ROI and break-even …
UTM Campaign BuilderBuild consistent UTM campaign URLs for ads, email, social …
Campaign Brief BuilderTurn an objective, audience, offer and measurement plan into …
SEO Traffic ForecastModel organic clicks, conversions and revenue over a planning …
Content Calendar PlannerCreate a practical multi-week content calendar from one topic, …
Marketing KPI CalculatorCalculate CTR, CPC, conversion rate, CPA, revenue and ROAS …
Website SEO CheckerCrawl coverage, indexable pages, internal links
Keyword Research ToolCheck the exact query's available search volume, keyword difficulty …
SERP CheckerInspect the returned organic results for a keyword and …
Website Security CheckerAudit website security posture, TLS/SSL certificates, HTTP security headers, …
WordPress Security Configuration CheckerCheck eight externally observable WordPress configuration areas: XML-RPC, wp-login.php, …
Server Response Time CheckerMeasure server Time to First Byte (TTFB), DNS lookup, …
Backlink CheckerCheck the backlink and referring-domain data available for a …
Robots.txt CheckerTest and validate robots.txt rules, User-Agent directives, blocked paths …
Sitemap CheckerDiscover sitemap declarations, inspect the root document and fetch …
Meta Tag CheckerCheck page title length, meta description, H1 heading structure, …
HTTP Status & Redirect CheckerTrace HTTP status codes (200, 301, 302, 404, 500) …
Website MonitorRun one live availability check and retain an evidence …
HTTP/2 TestCheck whether the exact submitted hostname negotiates HTTP/2 through …
HTTP/3 TestTest whether your web server supports HTTP/3 over QUIC …
Website Performance TestCompare HTTP response timing from available probe locations and …
GEO CheckerInspect observable page signals that support retrieval, answer extraction, …
Core Web Vitals CheckerCheck 75th-percentile real-user LCP, INP and CLS from Chrome …
PageSpeed CheckerRun one Lighthouse lab audit to inspect performance, accessibility, …
Website Safety CheckerCheck whether a domain or URL is flagged for …
Knowledge Graph CheckerLook up matching entities for a brand, person, product …
Keyword Gap CheckerFind ranking keywords observed for a competitor and not …
Competitor Top PagesFind the pages with the highest estimated organic traffic …
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.