Skip to content

Instantly share code, notes, and snippets.

@Geri-Borbas
Created March 16, 2022 18:06
Show Gist options
  • Save Geri-Borbas/d145a272e91a2f87a2fb4fb374874258 to your computer and use it in GitHub Desktop.
Save Geri-Borbas/d145a272e91a2f87a2fb4fb374874258 to your computer and use it in GitHub Desktop.
Setup SSL for WordPress.
// 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