Wednesday, August 28, 2013
4:12 PM

Solution: Install/Update Wordpress plugins without providing FTP access

Hi if you don't have FTP access to your wordpress server yow follow below steps to Install/Update Wordpress plugins from wordpress admin panel

step1 : Change "wp-content" folder permissions to 777

sudo chmod -R 777 wp-content

step2In "wp-config.php" file add define('FS_METHOD', 'direct');

example :
......
......
/** MySQL hostname */
define('DB_HOST', 'localhost');

/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'utf8');

/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');

define('FS_METHOD', 'direct');

.........
.........

0 comments:

Post a Comment