How to update WordPress without FTP?

So… I wanted to check new version of WordPress 3.0, I clicked update and… ftp login/password? For what? As I remember some time ago I updated some instance of WordPress without ftp account… Little research and this is solutions:

Add the following line to your config-file wp-config.php:


BEFORE this:

if ( !defined(‘ABSPATH’) )

define(‘ABSPATH’, dirname(__FILE__) . ‘/’);^

That is all.

Leave a Comment: