This is a problem with Cloudflare – simply add the below to .htaccess:
$_SERVER[‘HTTPS’] = ‘on’;
Source: StackOverflow
Share via: