https too many redirects wordpress code example
Example 1: wordpress This page isn’t workingnewconstructionslondon.co.uk redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS
define('WP_HOME','http://example.com');
define('WP_SITEURL','http://example.com');
Example 2: wp-admin too many times redirect wordpress
if (strpos($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') !== false)
$_SERVER['HTTPS']='on';