Last active
December 16, 2015 14:19
-
-
Save hereswhatidid/5447386 to your computer and use it in GitHub Desktop.
Useful wp-config.php options 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
<?php | |
// Disable reinstalling Akismet and Hello, Dolly! plugins | |
// when upgrading WordPress core | |
define( 'CORE_UPGRADE_SKIP_NEW_BUNDLED', true); | |
// Disable built-in file editor | |
define('DISALLOW_FILE_EDIT', TRUE) | |
// Set the autosave interval | |
define('AUTOSAVE_INTERVAL', 240 ); | |
// Set revision count or disable revisions | |
define('WP_POST_REVISIONS', 3); | |
define('WP_POST_REVISIONS', false); | |
// Disable the ability to update or install plugins and the WordPress core | |
define('DISALLOW_FILE_MODS',true); | |
// Force SSL for the login and admin areas | |
define('FORCE_SSL_LOGIN',true); | |
define('FORCE_SSL_ADMIN',true); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment