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 brmed.com, it redirects correctly to https://www.brmed.com/

But if I type brmed.com/como-funciona it doesn’t redirect to https://www.brmed.com/como-funciona

How can I fix this?

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

On the DNS tab, create an A record for @, set the value to 192.0.2.1, 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.