Created
March 16, 2022 18:06
-
-
Save Geri-Borbas/d145a272e91a2f87a2fb4fb374874258 to your computer and use it in GitHub Desktop.
Setup SSL for WordPress.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this to `wp-confing.php`. | |
$_SERVER['HTTPS'] = 'on'; | |
$_SERVER['SERVER_PORT'] = '443'; | |
define('WP_HOME','https://blog.address.com'); | |
define('WP_SITEURL','https://blog.address.com'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment