Redirect Rule Generator & Checker Guide

Create correct redirect rules for your server or host, and get the exact commands to verify that each redirect works.

FreeNo sign-upRuns in your browserMobile-friendly

Loading tool…

Need help with this tool or found a problem? WhatsApp support Email

What does the Redirect Rule Generator & Guide do?

A browser-based page cannot honestly “check” another website’s redirects: browsers hide redirect headers from scripts on other domains for security reasons (CORS). Tools that claim otherwise route your URLs through their servers. Instead, this tool does two genuinely useful things locally: it writes redirect rules in the format your platform needs, and it generates curl commands you can run in any terminal to see each status code and Location header.

Use 301 (or 308) for permanent moves — for example when you change a URL slug — so search engines transfer ranking signals to the new address. Use 302 (or 307) only for temporary moves.

How to use the Redirect Rule Generator & Guide

  1. List redirects as “/old-path /new-path”, one per line.
  2. Choose the status code.
  3. Choose your platform: Cloudflare Pages/Netlify, Apache, Nginx or Vercel.
  4. Add the rules to your configuration and deploy.
  5. Switch the output to “Verification commands”, run them in a terminal and confirm each shows the expected code and location.

Examples

Changed blog slug

/blog/2019/seo-tips/ /blog/seo-tips/ 301 in a _redirects file on Cloudflare Pages.

Checking it

curl -sIL "https://example.com/blog/2019/seo-tips/" should show HTTP/2 301, then a location header, then HTTP/2 200.

Common use cases

  • Moving pages or changing URL slugs
  • Migrating from WordPress to a static host
  • Redirecting old domains to new ones
  • Fixing redirect chains found in audits

Features and benefits

  • Private by design — your data is processed on your device and never uploaded.
  • Free with no account, no watermark and no usage limits.
  • Works on phones, tablets and desktops in any modern browser.

Limitations to know

  • Rule syntax for complex patterns (wildcards, regex) differs by platform; this tool generates exact-path rules.
  • Avoid redirect chains — point old URLs directly at the final destination.

Frequently asked questions

Why can’t you check my redirects in the browser?

Browsers block scripts from reading cross-site response headers and follow redirects invisibly. Only a server or a command-line tool can see the raw redirect chain.

301 or 302?

301 for permanent moves (most cases). 302 for temporary changes like a seasonal promotion page.

Where does the _redirects file go?

In the root of your published site directory on Cloudflare Pages or Netlify.

Embed this tool on your website

Add the free Redirect Rule Generator & Guide to your blog or website. Paste the code into your page’s HTML; the tool runs in your visitors’ browsers and stays up to date automatically. Please keep the credit line below the tool.

Free to use on any website. The tool runs inside an iframe served from viptools.pk; nothing your visitors type is sent to your site or ours. Preview the embedded version.

All seo tools