Last active
April 22, 2018 00:57
-
-
Save patric-boehner/8389bee6d4a35e059745df8175b4898b to your computer and use it in GitHub Desktop.
WP Config Sample
This file contains hidden or 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 | |
/** | |
* This will log all errors notices and warnings to a file called debug.log in | |
* wp-content (If Apache does not have write permission, you may need to create | |
* the file first and set the appropriate permissions (i.e. use 660) ) | |
*/ | |
define( 'WP_DEBUG', false ); // Or false | |
if ( WP_DEBUG ) { | |
define( 'WP_DEBUG_LOG', true ); | |
define( 'WP_DEBUG_DISPLAY', false ); | |
} | |
// Force SSL on admin | |
define('FORCE_SSL_ADMIN', true); | |
// Define number of post revisions | |
define( 'WP_POST_REVISIONS', 3 ); | |
// Turn off File Editing | |
define( 'DISALLOW_FILE_EDIT', true ); | |
define( 'DISALLOW_UNFILTERED_HTML', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment