I have redirect a website to a new domain which has cloudflare integration, the problem is when i navigate to other pages of website the URL box only shows the home page URL. How to resolve this issue?
The domain you are redirecting from must be proxied by Cloudflare. The target domain may or not be proxied.
Please see Example 3 in this Cheat Sheet, and see if it helps you.
Cloudflare Page Rules will soon be deprecated, as they are being replaced by a group of new Cloudflare Rules.
Redirect Rules (beta) helps you make all kinds of dynamic or static redirects.
Examples of some of the most requested Redirect Rules:
1 - Canonical redirect (naked domain to www.)
Redirect Rule details When incoming requests match
Field: Hostname
Operator: equals
Value: example.com
Then
Type: Dynamic
Expression: concat("https://www.example.com", http.request.uri.path) …
1 Like