How’s your wp-config.php file?

in Webdev, wordpress / tags: , , , ,

WordPress relies on wp-config.php file to connect to database. Here, there are some basic settings about our WordPress installation like database-related information and language interface. When we upgrade our WordPress installation to new release, we can have our WordPress blog running without problem, even without touching wp-config.php file.

But, in some release, there are some new settings that should be — well, I’d rather say ‘recommended’ — added. For example, WordPress 2.5 introduced a new setting called SECRET_KEY. Read more about this new at Ryan Boren’s blog or WordPress Codex.

Do you have those setting in your wp-config.php? If not, it’s time to add it.

For the next release, there will be another new settings that can be added. So far, there will be WP_POST_REVISIONS. It’s related to Post Revisions feature that will be introduced in WordPress 2.6. Since I have taken the decision not to use that feature, I will turn this feature off for my coming upgrade. So, right now — I’m still using WordPress 2.5.1 — I added a setting to disable Post Revisions feature in my wp-config.php.

It’s always a good idea to have wp-config.php has the recommended settings, according to WordPress version we’re using. It’s never too late to fix your configuration file.

If you're new here, you may want to subscribe to my RSS feed go get the latest entry from your RSS reader. You can also have my contents delivered to your inbox.

Your feedback, please...


Subscribe

Buy me coffee

Do you like articles and other in my blog? If you find them useful, you can support me by sending donation.