Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
wp-config Tips and Tricks
What is it?



 Configuration settings for your
       WordPress install

http://codex.wordpress.org/Editing_wp-config.php
Created either by using the installer




  Or copy wp-config-sample.php
Database Settings



         `
Table Prefix

The value placed in front of your database tables

You should change the default value pre-install

   Allow...
Security Keys

Ensure better cookie encryption
More Security
●   Move wp-config.php out of the public html area




●   Limit access to wp-config.php
URLs


Override the database value without changing it

     Disables these fields in the wp-admin
Custom User Tables
Move wp-content
Other Tips
There's More?
●   Language and Language Directory
●   Specify Cookie Domain
●   Override File Permissions
●   FTP / SSH Co...
Developer
Testing
Using SVN
●   Put your WordPress site in an SVN repository

●   Automatically update the WordPress core files

●   Automat...
Using SVN
●   Add the WordPress core as an svn:external
    html/wp http://svn.automattic.com/wordpress/tags/2.8.4

●   Co...
Using SVN
●   Move wp-content in wp-config.php



●   Change the site URLs in wp-config.php
Using SVN
●   Modify your .htaccess file




●
    Update using svn up
●   Some plugins will break!
The Good And the Bad
●   Good
    ●   Very customizable
    ●   Clean & concise

●   Bad
    ●   Test first!
    ●   Test ...
http://www.picklewagon.com

      Twitter: joshh
Upcoming SlideShare
Loading in …5
×

wp-config Tips and Tricks

3,827 views

Published on

I gave this presentation at WordCamp Seattle on September 26, 2009. It was an Ignite presentation so there is a lot of information in very little time. A video of the presentation can be found at http://wordpress.tv/2009/09/26/josh-harrison-config-seattle09/

Published in: Technology, Business

wp-config Tips and Tricks

  1. 1. wp-config Tips and Tricks
  2. 2. What is it? Configuration settings for your WordPress install http://codex.wordpress.org/Editing_wp-config.php
  3. 3. Created either by using the installer Or copy wp-config-sample.php
  4. 4. Database Settings `
  5. 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
  6. 6. Security Keys Ensure better cookie encryption
  7. 7. More Security ● Move wp-config.php out of the public html area ● Limit access to wp-config.php
  8. 8. URLs Override the database value without changing it Disables these fields in the wp-admin
  9. 9. Custom User Tables
  10. 10. Move wp-content
  11. 11. Other Tips
  12. 12. There's More? ● Language and Language Directory ● Specify Cookie Domain ● Override File Permissions ● FTP / SSH Constants ● Control Proxy Access
  13. 13. Developer
  14. 14. Testing
  15. 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. 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. 17. Using SVN ● Move wp-content in wp-config.php ● Change the site URLs in wp-config.php
  18. 18. Using SVN ● Modify your .htaccess file ● Update using svn up ● Some plugins will break!
  19. 19. The Good And the Bad ● Good ● Very customizable ● Clean & concise ● Bad ● Test first! ● Test again!
  20. 20. http://www.picklewagon.com Twitter: joshh

×