Created
October 24, 2020 10:52
-
-
Save mommaroodles/f5245c733daba91d9693e79eabb5b212 to your computer and use it in GitHub Desktop.
wp-config.php
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
define('WP_HOME', 'http://www.example.com'); | |
define('WP_SITEURL', 'http://www.example.com');` | |
define('FS_CHMOD_FILE', 0644); | |
define('FS_CHMOD_DIR', 0755); ` | |
define( 'WP_DEBUG', false); | |
//define( 'WP_DEBUG_LOG', true ); | |
//define( 'WP_DEBUG_DISPLAY', false ); | |
define( 'AUTOSAVE_INTERVAL', 60*60*60*24*365 ); // Set autosave interval to 1x per year | |
define( 'EMPTY_TRASH_DAYS', 3 ); // Empty trash now: 3 days | |
define( 'WP_POST_REVISIONS', false ); // Do not save any revisions | |
define( 'WP_ALLOW_REPAIR', true); | |
// forces the filesystem method: "direct", "ssh", "ftpext", or "ftpsockets" | |
define('FS_METHOD', 'ftpext'); | |
// absolute path to root installation directory | |
define('FTP_BASE', '/path/to/wordpress/'); | |
// absolute path to "wp-content" directory | |
define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/'); | |
// absolute path to "wp-plugins" directory | |
define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/'); | |
// absolute path to your SSH public key | |
define('FTP_PUBKEY', '/home/username/.ssh/id_rsa.pub'); | |
// absolute path to your SSH private key | |
define('FTP_PRIVKEY', '/home/username/.ssh/id_rsa'); | |
// either your FTP or SSH username | |
define('FTP_USER', 'username'); | |
// password for FTP_USER username | |
define('FTP_PASS', 'password'); | |
// hostname:port combo for your SSH/FTP server | |
define('FTP_HOST', 'ftp.example.org:21'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment