My pagerule to redirect to www is not working

I created a simple page rule, following the instructions I found on CloudFlare, to redirect the root domain to www.

I am attaching the image of this configuration.

Strangely, when I type, it redirects correctly to

But if I type it doesn’t redirect to

How can I fix this?

You need to create a dummy DNS record for, and set it :orange:

On the DNS tab, create an A record for @, set the value to, and make sure to set it :orange:, and your rule will start to work.

1 Like

Some browsers do this automatically if it can’t find a DNS record, but @michael’s suggestion will make sure all requests are properly redirected.

Michael, thank you very much!

1 Like

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