Force SSL on admin area for wordpress causes redirect loop.
AA-00411 Last Updated: 2025-08-14 08:42 Created: 2014-10-13 11:16 35529 Views
If you add
define('FORCE_SSL_ADMIN', true);
To your wp-config.php file when using free hosting, it is no longer possible to login to wordpress due to a redirect loop.
To fix this, in your wp-config.php file at the very bottom add the following :
{
$_SERVER['HTTPS']='on';
}