Redirect Rule Generator

Generate redirect configuration for Apache, Nginx or Vercel

Apache: root .htaccess mod_rewrite; Nginx: exact location in a server block; Vercel: vercel.json redirects. Literal source paths only; no queries or patterns. Destinations must be absolute HTTP(S) with restricted ASCII config characters: percent-encode unsupported punctuation/Unicode. Apache/Nginx use 301 permanent or 302 temporary/found; 302 is not universally method-preserving. Vercel maps permanent to 308 and temporary to 307, preserving methods. Apache/Nginx discard incoming query strings unless explicitly present in the destination. Vercel may pass through incoming query parameters; verify its routing behavior. Review server context and test before deployment. Validate production destinations when request/user input can influence them.

Local processing only. Generated source is shown as text; no URLs are fetched. Review before use.

How to use Redirect Rule Generator

Generate redirect configuration for Apache, Nginx or Vercel

  1. Enter the real page URL and the metadata or crawling settings you intend to publish.
  2. Inspect the generated markup in its target page or server before publishing.
  3. Review the result, then copy or download it.

Inputs and options

Server format · Redirect intent · Source path · Destination URL

Example input

sourceUrl: /old-page
targetUrl: https://example.com/new-page
target: Apache
status: 301

Use the example button when available, or paste these values into the corresponding fields.

Formats and limits

Apache: root .htaccess mod_rewrite; Nginx: exact location in a server block; Vercel: vercel.json redirects. Literal source paths only; no queries or patterns. Destinations must be absolute HTTP(S) with restricted ASCII config characters: percent-encode unsupported punctuation/Unicode. Apache/Nginx use 301 permanent or 302 temporary/found; 302 is not universally method-preserving. Vercel maps permanent to 308 and temporary to 307, preserving methods. Apache/Nginx discard incoming query strings unless explicitly present in the destination. Vercel may pass through incoming query parameters; verify its routing behavior. Review server context and test before deployment. Validate production destinations when request/user input can influence them.

Frequently asked questions

Are my inputs uploaded?

Tool processing runs on your device. Your input is not sent to a processing server. Some tools may download runtime files or use platform features; see the tool notes.

What should I check before using the result?

Generated metadata and configuration are drafts. Review them in the target page or server; they do not guarantee search ranking or indexing.

Can I use this tool for free?

Yes. ToolXovo tools are free to use. Beta tools are still being validated; check their notes and exported results.