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.
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
- List redirects as “/old-path /new-path”, one per line.
- Choose the status code.
- Choose your platform: Cloudflare Pages/Netlify, Apache, Nginx or Vercel.
- Add the rules to your configuration and deploy.
- 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.
Related tools
All seo toolsCanonical URL Generator
Normalise URLs and generate rel=canonical tags.
Robots.txt Generator
Build a robots.txt file with allow/disallow rules and sitemap link.
XML Sitemap Generator
Turn a list of URLs into a valid XML sitemap.
URL Shortening Guide & Link Cleaner
Shorten links honestly: strip tracking parameters and learn safe shortener use.
Utility ToolsMeta Title Checker
Check title length in characters and pixels with a live Google-style preview.
Meta Description Checker
Check meta description length and see how it may appear in search.