Wordpress redirect loops

If you are having issues with wordpress redirect loops, add the following to your wp-config.php file


define('WP_HOME','https://t');
define('WP_SITEURL','https://');
if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') {
$_SERVER['HTTPS']='on';
}