Last active
December 7, 2018 15:19
-
-
Save jillmugge/11181232 to your computer and use it in GitHub Desktop.
wp-config.php
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
/* Place after define('WP-DBUG', false);*/ | |
define('FORCE_SSL_ADMIN', true); //will force login thru SSL https://entire site: goto general settings add https:// | |
//define('ALTERNATE_WP_CRON', true); //posts not getting published? redirect cron | |
//define('DISALLOW_FILE_EDIT', true); //will disable WP editor | |
//define('DISALLOW_FILE_MODS', true); //disables add/delete theme & plugins | |
define('WP_CASHE', true); //wp default cashe. | |
//define('WP_POST_REVISIONS', 4); //limits revisions false to turn off | |
//define('AUTOSAVE_INTERVAL', 240); //minutes | |
//define( 'WP_SITEURL', 'https://jmgmarketinggroup.com' ); //hard code into gen settings | |
//define( 'WP_HOME', 'https://jmgmarketinggroup.com' ); | |
//define('CONCATENATE_SCRIPTS', false); //won't squish all admin js together to debug | |
define('WP_MEMORY_LIMIT', '64M'); //increases memory | |
//define('EMPTY_TRASH_DAYS', 0); // delete posts directly. takes away "trash" num=days default=30 | |
//define('WP_ALLOW_REPAIR', true);//maint/repair.php repairs database/optimize db tables. Make sure its deleted once it's run | |
//define('PODS_GITHUB_UPDATE', true); | |
//define('PODS_GITHUB_BRANCH', '2.x'); | |
//define('PODS_DEVELOPER', true); | |
//define('WP_AUTO_UPDATE_CORE', false); //ture, minor, major | |
define( 'WP_AUTO_UPDATE_CORE', true );//turn off auto update | |
//define( 'UPLOADS', 'image/'.'files' ); //http://www.example.com/image/imagename.jpg | |
//define( 'UPLOADS', ''.'files' ); //http://www.example.com/imagename.jpg | |
// define( 'IMAGE_EDIT_OVERWRITE', true ); //Only one set of image edits are ever created and when you restore the original, the edits are removed from the server. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment