Created
December 1, 2018 14:19
-
-
Save BHEADRICK/20c3c0d55bb138fe46f7366cf39d703c to your computer and use it in GitHub Desktop.
Boilerplate wp-config options
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
//hardcode domain | |
define('WP_HOME','https://yourdomain.com'); | |
define('WP_SITEURL','https://yourdomain.com'); | |
// force ssl admin | |
define( 'FORCE_SSL_ADMIN', true ); | |
define( 'WP_DEBUG', true ); | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'WP_MAX_MEMORY_LIMIT', '256M' ); | |
define( 'FS_METHOD', 'direct' ); | |
define( 'DISABLE_WP_CRON', true ); | |
define( 'DISALLOW_FILE_EDIT', true ); | |
//only to prevent plugin/theme updates to be run from admin | |
define( 'DISALLOW_FILE_MODS', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Doesn't include the standard default options, obviously