define('WP_HOME','https://mywebsite.com'); define('WP_SITEURL','https://mywebsite.com'); $_SERVER['HTTPS'] = 'on';