- Joined
- Oct 27, 2018
- Messages
- 10
- Points
- 3
After installing an SSL certificate and having the plugin Really Simple SSL on WordPress, there are still some errors (some things stay "disabled"). To fix them all, do this:
1. Enable HTTP Strict Transport Security (HSTS)
Open your .htaccess file in your root directory and add this:
2. Set Secure Cookies
Add in the wp-config.php file in your root directory and add this:
1. Enable HTTP Strict Transport Security (HSTS)
Open your .htaccess file in your root directory and add this:
Code:
Header set Strict-Transport-Security "max-age=31536000" env=HTTPS
2. Set Secure Cookies
Add in the wp-config.php file in your root directory and add this:
Code:
//Begin Really Simple SSL session cookie settings
@ini_set(‘session.cookie_httponly’, true);
@ini_set(‘session.cookie_secure’, true);
@ini_set(‘session.use_only_cookies’, true);
//END Really Simple SSL cookie settings
Last edited: