Date post: | 15-Apr-2017 |
Category: |
Internet |
Upload: | anthony-montalbano |
View: | 356 times |
Download: | 0 times |
wp-config.phpTips and tricks to optimize the most important file in WordPress!
Anthony MontalbanoAMBR Detroit
Primary purposes of the wp-config.php file
● Database location and authentication● Site and Environment Configurations● Security Salts and Keys
Important things you should do with wp-config.php
● Autoload database info based on environments (local, staging, production)
● Enable debugging on local environment
● Disable file / plugin changes on production
● Force site URL and home URL
● Force SSL for admins and logins
More advanced things with wp-config.php
● Move the location of the themes, plugins, and/or uploads folder
● Specify max post revisions to save
● Enable WordPress Multisite (MU)
● Increase PHP memory limit
● Set number of days to save items in the trash
● Put Jetpack in debug mode
Learn more about wp-config.php
https://codex.wordpress.org/Editing_wp-config.php