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!)
:
Basically:
- rule number 2 is not necessary (there is a switch in the SSL/TLS app).
- 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.
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?
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).
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.
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 @cs-cf) and nothing else…
Well I don’t know what I’ve done but stephaniethomas.com is also working now! So thank you for your help @matteo.
It isn’t for me though… Simply add a CNAME at @
that points to www.stephaniethomas.com
, 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
If you need any additional help just ask away! Most things can be solved easily if you know what to do!
Have a great day!
Thank you.
This topic was automatically closed after 14 days. New replies are no longer allowed.