Hi
How to redirect Page Rules
example.com/////////////////////////////
example.com
Is it possible?
Hi
How to redirect Page Rules
example.com/////////////////////////////
example.com
Is it possible?
So, first of all, you don’t technically need to. In the Dashboard under Rules → Settings, if you have Normalization Type set to “Cloudflare”, any page rules or firewall rules will trigger as though only one slash is present.
But, you can also create a Page Rule matching example.com//*
(two slashes) with the setting Forwarding URL, with a target of https://example.com/$1
and you will get a redirect from example.com//////posts
to a version with just the one slash. This will not however trigger on just example.com//////
with no further path (I just tried it) and I can’t find a way to make a rule that redirects that one.
Thanks for the answer!