2. Primary purposes of the wp-config.php file
● Database location and authentication
● Site and Environment Configurations
● Security Salts and Keys
3. 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
4. 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
5. Learn more about wp-config.php
https://codex.wordpress.org/Editing_wp-config.php