WordPress Configuration Tricks


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!




  1. George Serradinho (107 comments.) says:

    Some really cool tricks. I never knew that there were so many Security Keys. I have just updated my config file.

  2. Otto (215 comments.) says:

    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.

  3. Fabian (1 comments.) says:

    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!

    • Otto (215 comments.) says:

      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.

  4. Rob McKinley (1 comments.) says:

    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!

  5. Hicham (36 comments.) says:

    I see some cool tricks here that never come through!

  6. Mark Ghosh (386 comments.) says:

    This is a test


  1. perishable (Jeff Starr) (1 comments.) says:

    RT @weblogtooltips WordPress Configuration Tricks | Weblog Tools Collection (via @tweetmeme)

  2. blognews (blognews) (104 comments.) says:

    [planet wordpress]: Weblog Tools Collection: WordPress Configuration Tricks: WordPress Config..

  3. WordPress Configuration Tricks | Weblog Tools Collection (via @weblogtooltips)

  4. WordPressYes (WordPress Yes!) (94 comments.) says:

    WordPress Configuration Tricks: WordPress Configuration Tricks : If you have ever installed WordPress and wanted..

  5. webupd8 (Web Upd8 Team) (5 comments.) says:

    WordPress Configuration Tricks

  6. kirako (Melissa Ward) (1 comments.) says:

    WordPress Configuration Tricks | Weblog Tools Collection via @perishable

Obviously Powered by WordPress. © 2003-2013

page counter