netlify-playground icon indicating copy to clipboard operation
netlify-playground copied to clipboard

Explain what's the behavior of valid redirect rules

Open calavera opened this issue 8 years ago • 2 comments

- Do you want to request a feature or report a bug?

This is a feature.

- What is the current behavior?

When redirect rules are valid, we only say that they are valid.

- What is the expected behavior?

We should explain each rule and what the effect of a match in the rule will have. For example:

/foo https://foo.com/bar 301!
=> Requests to the path /foo will be redirected to https://foo.com/bar.
=> The redirect will happen regardless the site can serve content in /foo or not,
=> because the redirect is using `!`.

calavera avatar Oct 22 '16 20:10 calavera

I came here to ask for this feature too!

whmountains avatar Nov 16 '17 20:11 whmountains

This! Also, it would be amazing to be able to paste in a rule and see what it hits - debugging this feature is a pain.

scottlet avatar Apr 12 '20 11:04 scottlet