← back to flaviocopes.com

Redirects simulator

← All tools

Paste your _redirects file, type a request path, and see which rule wins — splat substitution, status codes, and Cloudflare Pages order limits included.

~~~

Redirect rules

 · 

Rule warnings

~~~

Test path

Match result

Matched
Rule (line)
Destination
Status
Note
~~~

Batch test

Extra paths (comma or newline separated) — rules are never stored in the URL.

PathDestinationStatusRule line

Cloudflare Pages: up to 2,000 static rules; only the first 100 dynamic (splat or :placeholder) rules apply. Put static rules before dynamic ones. Trailing ! forces the redirect even when a static file exists.

~~~

About this tool

The _redirects file on Cloudflare Pages and Netlify maps request paths to destinations. Rules are evaluated top to bottom — first match wins. Splats (*) and placeholders (:id) expand into the destination path.

This site runs on Cloudflare Pages with its own_redirects — order matters, especially when mixing hundreds of blog slug redirects with catch-all splat rules.

~~~

Read more