We have recently applied SSL certificate on our website and we want all our url to have https:// protocol.
Once we moved our website to https://, our website broke down
This worked for me like a charm, added to wp-config at the end:
define('FORCE_SSL_ADMIN', true); define('WP_HOME', 'https://' . $_SERVER['HTTP_HOST']); define('WP_SITEURL', WP_HOME);