Redirection (Page rules) from domain root to www

Hey Cloudflare Community,

I have an issue with my Page rules. I’d like to reddit to thanks to forwarding URL (301). I configured it according to the screenshot below :

Do you know what I have done wrong?

Thank you so much for your help!

You shouldnt have the leading asterisk. That will match www too.

1 Like

Ok I understand well I should correct this by creating 2 pages rules ?

1- * ->
2- ->

Am I correct?

More or less, though for #1 you could also use and

This topic was automatically closed after 31 days. New replies are no longer allowed.