Last active
December 12, 2015 00:48
-
-
Save rosschapman/4686501 to your computer and use it in GitHub Desktop.
Sample for #wordpress SSL admin
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
* Force admin over SSL | |
*/ | |
define('FORCE_SSL_LOGIN', true); | |
define('FORCE_SSL_ADMIN', true); | |
/* 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. */ | |
if ( !defined('MOBILE')) | |
require_once(ABSPATH . 'wp-settings.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment