Sunday, June 16, 2013

WordPress How-To: Force Direct Filewrites For Upgrades

In short, all you need to do is to add the following 3 lines somewhere near the top of your wp-config.php file: Don’t use this code unless you know what you are doing!
define( 'FS_METHOD', 'direct' );
define( 'FS_CHMOD_DIR', 0777 );
define( 'FS_CHMOD_FILE', 0777 );

No comments:

Post a Comment