Page Rules


#1

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!)
:

)


#2

Basically:

  • 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.

#3

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


#4

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


#5

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


#6

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


#7

Well you can, you just need to add some IP behind that. A simple CNAME to www.stephaniethomas.com 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…


#8

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


#9

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


#10

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.


#11

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


#12

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


#13

It does!


#14

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:


#15

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!


#16

Thank you.


#18

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