Potential documentation error for "Forwarding (URL Redirection)"

Hi,
On the documentation page,

support . Cloudflare . com / hc/en-us/articles/218411427
(without the spaces)

The example suggests, under Forwarding (URL Redirection),
If the URL matches:
.examples . com/
Then the settings are:
Forwarding URL http :// example.com/$2/
301
Here, a request to “www . example . com / stuff/things” will be redirected to “http :// example . com/stuff/things”.

The example doesn’t seem right – and it didn’t work when I set it up on my domain – because of the trailing forward slash.

I think the example should have said “http :// example . com/$2” and not “http :// example . com/$2/”

-Ben

1 Like

Agreed, that will add a trailing slash that can break the redirect. @cloonan?

2 Likes

This topic was automatically closed after 14 days. New replies are no longer allowed.