With Cloudflare you get an SSL certificate for free. But, if you’re using Woocommerce, like a lot of WordPress users, then the setting inside WooCommerce to Force SSL causes a ‘redirect loop’ on your checkout page.
This is because your SSL is happening via the Cloudflare proxy so the WordPress is_ssl() function can’t detect that you’re on SSL and keeps on redirecting to the SSL page forever.
Modify the little code snippet below to use your website domain name instead of the Affiliate Web Designers domain name and then paste the code into your themes functions.php file (or add a new plugin containing this code snippet if you prefer).
- My WordPress performance plugins and server stack have moved - July 31, 2016
- Price Comparison Pro 1.2 Released - July 5, 2016
- How to run backups on huge WordPress websites without your website being brought offline - February 4, 2016