Redirect with path
How would i create a redirect url that woudl for example redirect
example.domain.com
to example.com
but includes the path so if its example.domain.com/path-thingy
it would redirect to example.com/path-thingy
1 Reply
Someone please correct me if there is a better method, but the way I have managed to achieve this is by using a page rule rather than a redirect rule.
create a page rule that captures
example.domain.com/*
forward url schema://example.com/$1
source: https://developers.cloudflare.com/rules/page-rules/how-to/url-forwarding/
hope this helps!