How Avoid WordPress Asking FTP Credentials When You Install/ Upgrade Plugins?


Hello Everyone

When you want to install or upgrade a plugin, wordpress will display a message stating:

To perform the requested action WordPress needs to access your web server.Please enter your FTP credentials to proceed.If you do not remember your credentials you should contact your web host

 

Screenshot-1

 

To avoid this, open wp-config.php in notepad and enter the following information at the end:

 

define( 'FS_METHOD', 'direct' );
define( 'FS_CHMOD_DIR', 0777 );
define( 'FS_CHMOD_FILE', 0777 );

Enjoy Code!

Advertisements

Sr. Software Engineer

Tagged with: ,
Posted in Wordpress
One comment on “How Avoid WordPress Asking FTP Credentials When You Install/ Upgrade Plugins?
  1. Hi there colleagues, fastidious post and fastidious urging commented here, I am
    in fact enjoying by these.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: