Created
November 20, 2013 09:55
-
-
Save GreatPotato/7560604 to your computer and use it in GitHub Desktop.
A marginally better WordPress config file
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 define('WP_CACHE', true); | |
define('DB_NAME', 'wordpress'); | |
define('DB_USER', 'root'); | |
define('DB_PASSWORD', 'password'); | |
define('DB_HOST', 'localhost'); | |
define('DB_CHARSET', 'utf8'); | |
define('DB_COLLATE', ''); | |
// Generate more keys @ https://api.wordpress.org/secret-key/1.1/ | |
define('AUTH_KEY', ''); | |
define('SECURE_AUTH_KEY', ''); | |
define('LOGGED_IN_KEY', ''); | |
define('NONCE_KEY', ''); | |
$table_prefix = 'wp_'; | |
define('WP_DEBUG', false); | |
define('WP_HOME', 'http://wordpress.local'); | |
define('WP_SITEURL', 'http://wordpress.local'); | |
define('AUTOSAVE_INTERVAL', 3600); | |
define('WP_POST_REVISIONS', 5); | |
define('EMPTY_TRASH_DAYS', 5); | |
define('WP_MEMORY_LIMIT', '32M'); | |
/*----- | |
| Do not edit below here | |
-----*/ | |
if ( !defined('ABSPATH') ) | |
define('ABSPATH', dirname(__FILE__) . '/'); | |
require_once(ABSPATH . 'wp-settings.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment