Skip to content

Instantly share code, notes, and snippets.

@hereswhatidid
Last active December 16, 2015 14:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hereswhatidid/5447386 to your computer and use it in GitHub Desktop.
Save hereswhatidid/5447386 to your computer and use it in GitHub Desktop.
Useful wp-config.php options for WordPress
<?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