the wp config.php
TRANSCRIPT
![Page 1: The wp config.php](https://reader031.vdocuments.mx/reader031/viewer/2022030309/58f226051a28ab92638b458f/html5/thumbnails/1.jpg)
wp-config.phpTips and tricks to optimize the most important file in WordPress!
Anthony MontalbanoAMBR Detroit
![Page 2: The wp config.php](https://reader031.vdocuments.mx/reader031/viewer/2022030309/58f226051a28ab92638b458f/html5/thumbnails/2.jpg)
Primary purposes of the wp-config.php file
● Database location and authentication● Site and Environment Configurations● Security Salts and Keys
![Page 3: The wp config.php](https://reader031.vdocuments.mx/reader031/viewer/2022030309/58f226051a28ab92638b458f/html5/thumbnails/3.jpg)
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
![Page 4: The wp config.php](https://reader031.vdocuments.mx/reader031/viewer/2022030309/58f226051a28ab92638b458f/html5/thumbnails/4.jpg)
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
![Page 5: The wp config.php](https://reader031.vdocuments.mx/reader031/viewer/2022030309/58f226051a28ab92638b458f/html5/thumbnails/5.jpg)
Learn more about wp-config.php
https://codex.wordpress.org/Editing_wp-config.php