WordPress Configuration Tricks : If you have ever installed WordPress and wanted to know what else you could do with your wp-config.php file, this is the blog post to read. As Ozh points out in the comments, a couple of tricks were left out but nothing that could not be remedied with a simple Google search (e.g. WP_HTTP) as long as you know what you are looking for.
Tips from that page that got me thinking (things that make you go hmmmmm?) include moving your wp-content directory, increasing your memory limit, changing the autosave interval, turning on debugging and finally the ability to specify a log file for errors. All of this through the wondrous wp-config.php file. The list is quite exhaustive.
While you are there, make sure you subscribe to the blog. Chris and Jeff are putting out some good stuff!
Some really cool tricks. I never knew that there were so many Security Keys. I have just updated my config file.
Many of the things that he says will “improve performance” won’t actually improve anything. Many of the things that he thinks will reduce database queries don’t take the options autoload and internal cache system into account. For example, defining the home and siteurl don’t remove hits to the database, since those get loaded up anyway.
Other than that, fine article.
What you ment by “Increasing your memory limit”, is that something which could be done from wp-config.php file?
Maximum upload memory limit needed to be changed from php.ini file, right?
Please advice!
Depends on your setup. WordPress will attempt to raise the memory limit itself, if PHP is configured to allow that. Sometimes this setting is locked out, in which case WordPress simply can’t change it itself.
Okay, clear!
Thank You 🙂
WordPressis a really cool thing to have. It has so many features and now on we’ll work upon it more efficiently and in an effective time…we can change the interval of autosave and even increase our memory limit..but what I liked most is its feature of debugging and log file for errors…its simply amazing…Thanks wordpress!
I see some cool tricks here that never come through!
This is a test