The wp-config.php file contains configuration settings for a WordPress install. It is either created during installation or by copying the wp-config-sample.php file. The file contains database settings like the table prefix and security keys. Additional security can be added by moving wp-config.php out of the public directory and limiting its access. The file can also override database values and URLs. Developers can use SVN to version control WordPress sites and update core files, themes, and plugins automatically for testing. Customizing wp-config.php requires testing to avoid breaking plugins.
5. Table Prefix
The value placed in front of your database tables
You should change the default value pre-install
Allows multiple WP installs to a single DB
15. Using SVN
● Put your WordPress site in an SVN repository
● Automatically update the WordPress core files
● Automatically update themes and plugins
● Easily change versions for testing purposes
16. Using SVN
● Add the WordPress core as an svn:external
html/wp http://svn.automattic.com/wordpress/tags/2.8.4
● Copy the wp-content folder to public html
● Add the wp-config file to public html
17. Using SVN
● Move wp-content in wp-config.php
● Change the site URLs in wp-config.php
18. Using SVN
● Modify your .htaccess file
●
Update using svn up
● Some plugins will break!
19. The Good And the Bad
● Good
● Very customizable
● Clean & concise
● Bad
● Test first!
● Test again!