Redirecting www.domain.com to domain.com

How can I enable a rule that redirects traffic from a www.mydomain.com/anyotherthing/ to mydomain.com/anyotherthing/

Seems a page rule can make it work, but I can’t recreate a rule for every page in my website. If transform rule is the answer, please how exactly can I do this?

You just need to have /* and use $1 in the forwarding URL.

Checkout this knowledgebase entry for more details: Understanding and Configuring Cloudflare Page Rules (Page Rules Tutorial) – Cloudflare Help Center

4 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.