Kajabi + Cloudflare : How to Enforce Redirect to Secure WWW Urls

In order to setup a custom domain on the New Kajabi publishing system, you need to setup your nameservers to run over the Cloudflare.com system. There’s an excellent “how-to” article available here for that process: How Do I Configure a Custom Domain for My Kajabi Site.
Now, the thing is: If someone goes to the non-www version of your site (for example http://peacefuluniversity.com/pages/about-us), we’d like for them to be redirected to the secure, www version of the same page (ie: https://www.peacefuluniversity.com/pages/about-us). For this, we need to setup some additional page rules inside of Cloudflare.com.
There are three page rules that we need to setup, in this particular order:
- yourdomain.com/*
302 / temporary redirect to https://www.yourdomain.com/$1 - https://www.yourdomain.com/*
Always use https - https://yourdomain.com/*
302 / temporary redirect to https://www.yourdomain.com/$1
The final setup is going to look like this:
-
http://crispinbixler.com Crispin Bixler Nisimyan