Page Rules


I am trying to set up page rules that will redirect someone to my website if they just type in the domain name without www and I don’t know what I’m doing wrong but I’m pulling my hair out. Can anyone help me please? I’d be very, very grateful (and so would my computer before I throw it out of the window!)




  • rule number 2 is not necessary (there is a switch in the Crypto tab).
  • I would have a single one page rule like the number 3, but that is missing the final $1.


Thank you I’ll sort that now and see if it works. :slight_smile:


So I have now changed it to this @matteo. Should that work if someone just types without www? Does it take a while for the rules to work?


Well you do not have any DNS record on without the www, so it will never work… You need to add something (usually the same as


OK, didn’t realise that you couldn’t do a rule around someone not typing the www. But the good news is is now working so thank you so much for your help on that.


Well you can, you just need to add some IP behind that. A simple CNAME to would suffice, otherwise you add the same entries that you have behind the www version.

You must have something in the DNS for that to reach Cloudflare. It would be great to have the ability to add something to DNS without actually pointing to anything if you need to do a redirect (ping @ryan and @cscharff) and nothing else…


Well I don’t know what I’ve done but is also working now! So thank you for your help @matteo.


It isn’t for me though… Simply add a :orange: CNAME at @ that points to, that would solve everything.


Ah! Do you mean like this in Cloudflare:

Or back where the domain name is hosted.

Sorry to sound so dim - I’m useless when it comes to tech stuff.


Exactly like that! It just needs to be put in the DNS records and so it will hit Cloudflare.


OK I’ve done that! Does it work from your end?


It does!


Fantastic! Thank you so much. I wouldn’t have been able to get here without your help and you have saved my computer - it’s so glad it’s not being chucked out of the window :slight_smile:


If you need any additional help just ask away! Most things can be solved easily if you know what to do! :grinning:

Have a great day!


Thank you.

closed #18

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