How to fix error in WordPress: redirected you too many times


How to fix error in WordPress: redirected you too many times

redirected you too many times

This error orcurs when you use CloudFlare with SSL.

Simple: add some lines in file wp-config.php

if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
   $_SERVER['HTTPS']='on';

fix redirected you too many times

Leave a Reply