I'm trying to improve site security, and decided to implement forced SSL login and admin. I put the statements in wp-config.php just before the final comment. It's not working:
I can log in but I never see the https:// in the address bar.
When I am logged in I can't get to the dashboard. To see the dashboard I have to roll the old wp-config.php back in.
Here is the tail of our wp-config.php:
/** * WordPress Localized Language, defaults to English. * * Change this to localize WordPress. A corresponding MO file for the chosen * language must be installed to wp-content/languages. For example, install * de.mo to wp-content/languages and set WPLANG to 'de' to enable German * language support. */ define ('WPLANG', ''); /* That's all, stop editing! Happy blogging. */ /** Absolute path to the WordPress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); /** Sets up WordPress vars and included files. */ require_once(ABSPATH . 'wp-settings.php');
I put the statements just before the "Happy blogging" comment, but never got a secure login. I just refreshed the site SSL certificate, and so far as I know it's working, but I get the results I described. Any suggestions??