Tool #148 · web infrastructure

Redirect Rule Builder & Tester

Create clean redirect mappings, test wildcard captures, preview final destination URLs, and copy ready-to-paste snippets for Netlify, Vercel, Nginx, Apache, or Express.

  • Supports 301, 302, 307, and 308 behavior with a built-in SEO summary.
  • Tests incoming URLs against your source pattern with wildcard and named parameter capture.
  • Handles query passthrough, explicit query overrides, and fragment forwarding.
  • Generates copyable deployment snippets for common hosting stacks.

Rule configuration

Define the redirect source, destination, and how the URL should be transformed.

Use plain paths, * wildcards, or named parameters like :slug.
You can reuse captured params like :slug or :splat.
Preserve incoming query parameters
Preserve URL fragment (#hash)

Match preview

See exactly what the redirect will do for the current test URL.

Matched?
Waiting for input…
Captured params
—
Final destination
—
Location header
—

Rule summary

Readable output for docs, pull requests, or deployment notes.

Human summary
—
SEO guidance
—
Risk checks
—

Deployment snippets

Copy the version that fits your stack.

Netlify

—

Vercel

—

Nginx

—

Apache

—

Express

—