Skip to content
Utiloom

Redirect Rule Generator

Create validated literal exact-path redirects for Netlify, Vercel, Apache, and Nginx with duplicate, cycle, chain, URL, and output evidence.

LocalNo retention

Reviewed July 13, 2026

Guide, examples, and validation Show

About this tool

Turn a reviewed old-to-new path map into one platform-specific file without treating incompatible wildcard or regex syntaxes as interchangeable.

Redirect Rule Generator converts a manually reviewed literal path map into bounded Netlify, Vercel, Apache, or Nginx configuration. It validates each source and destination, blocks duplicate sources and redirect cycles, warns about local chains, and exposes status and byte evidence before copy or download.

  • Emits Netlify _redirects, Vercel vercel.json, anchored Apache RedirectMatch, or exact Nginx location blocks.
  • Rejects incomplete, duplicate, unsafe, looping, or deployment-ambiguous source paths before exposing output.
  • Distinguishes Vercel 308/307 behavior from the 301/302 statuses emitted for the other targets.

How to use Redirect Rules

Choose the deployment target, enter one exact incoming path and destination per rule, then select permanent or temporary behavior. Resolve every validation error, review chain and trailing-slash warnings, copy or download the configuration, and test it on the host that receives the old request.

When this tool is useful

  • Emits Netlify _redirects, Vercel vercel.json, anchored Apache RedirectMatch, or exact Nginx location blocks.
  • Rejects incomplete, duplicate, unsafe, looping, or deployment-ambiguous source paths before exposing output.
  • Distinguishes Vercel 308/307 behavior from the 301/302 statuses emitted for the other targets.

Examples you can test

Load an example, compare the result with the expected output, then replace it with your own input.

Create a single 301 redirect

Example input

From: /old-pricing, to: /pricing

Expected output

Exact permanent mapping in the selected platform syntax

Vercel emits a 308 through permanent: true; Netlify, Apache, and Nginx emit 301 in this workbench.

Build a batch of redirects

Example input

/old-a -> /new-a
/old-b -> /new-b

Expected output

Two validated exact-path mappings with graph and byte evidence

The workbench supports up to 200 manually reviewed rows; use platform bulk workflows for larger inventories.

Validation checklist

  • Confirm the selected platform and its permanent or temporary status semantics.
  • Avoid redirect chains by pointing old URLs directly to the final destination.
  • Check duplicate sources, cycles, trailing slash, case, query, and destination behavior.
  • Test status and Location headers in a staging environment before deployment.

Frequently asked questions

Which status does the permanent option generate?

Netlify, Apache, and Nginx output 301 for permanent and 302 for temporary mappings. Vercel's permanent boolean emits 308 when true and 307 when false.

Can I paste a large list of redirects here?

The browser workbench supports up to 200 manually reviewed mappings with 2,048 code units per source or destination and 1 MiB of generated output. Use a platform's bulk redirect workflow for larger inventories.

Does the tool generate regex-based redirect rules for pattern matching?

No. Sources are deliberately limited to literal root-relative ASCII paths. Wildcards, named parameters, source queries, fragments, percent escapes, and user-authored regex are excluded because their matching rules differ across platforms.

Does a valid configuration guarantee a safe migration?

No. The tool does not inspect existing server rules, framework redirects, response headers, query preservation, slash normalization, methods, or final destinations. Deploy to staging and test representative requests on the real host.

How are redirect chains and loops handled?

Local destination paths are compared with other sources in the set. Cycles block output, while paths that point to another source produce a chain warning so they can be changed to the final destination.

Related tools

Keep the workflow moving

Continue with tools that handle a related input, output, or validation step.

SEO

Canonical URL Checker

Compare canonical URL relationships with explicit evidence.

Local
SEO

Hreflang Checker

Review authored hreflang mappings with explicit evidence.

Local
SEO

OG Image Generator

Create and verify a 1200x630 social image locally.

Local
SEO

Slug Generator

Create a reviewed URL path segment from one title.

Local