Cannot get non WWW. to redirect to WWW

Hi all,

I’m hoping you can help. I’ve tried every guide, tutorial and experiment to get the non-WWW. version of our site to redirect to the WWW. one.

I’ve tried page rules too following this guide and it didn’t work - https://support.cloudflare.com/hc/en-us/articles/200172286-How-do-I-perform-URL-forwarding-or-redirects-with-Cloudflare-

I’ve also cleared the cache after each experiment too.

If anyone can point me in the right direction I’d be forever grateful as I’ve been faffing with this for weeks now.

Cheers!

Works for me

curl -Ik http://salesschool.org
HTTP/1.1 301 Moved Permanently
Date: Thu, 18 Oct 2018 20:31:27 GMT
Connection: keep-alive
Cache-Control: max-age=3600
Expires: Thu, 18 Oct 2018 21:31:27 GMT
Location: https://www.salesschool.org/
Server: Cloudflare
CF-RAY: 46bdc4c3c2589b4a-DFW

Thanks for the message Cscharff.

I can’t get it to work at all on my end. I’ve cleared browser cache, used local connection and a proxy. I’ve even used my mobile device on 4G and it’s still giving me a “server IP address could not be found error”.

Could this be an issue other than simply redirects?

You shouldn’t need Rules 2 & 3. If your Crypto page has Always Use HTTPS enabled, then Rule #2 is redundant.

Rule #1 will match HTTP and HTTPS, making Rule #3 redundant.

To top it off, the redirect to www is working for me as well. If this is a recent setup, it may be a DNS propagation issue that should clear up in 24 hours.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.