Why does wp-admin login page failed after changing to https because of looping redirection and how to solve it?
After changing my Wordpress from http to https, the wp-admin login page failed because of too many redirections. I finally solved this problem by adding the following line to wp-config.php: $_SERVER['HTTPS'] = 'on';