Are you finding that every time you try to upload a new Plugin, or even update an already installed Plugin you are required to provide your FTP Login credentials. At first it may be a small set back, but after a while this can become very annoying to say the least, not to mention the added wasted time due to an added process. You may also be confused as to the reason this has happened as your other WordPress websites do not request this information from you.

WordPress is very specific regarding file ownership, as well as who is permitted to utilize these files. If the username for the server differs from that of which WordPress anticipates, then WordPress will not permit access without manually entering your FTP username and password upon uploading, updating, and deleting your WordPress Plugins.

Normally this is not an issue for those using a shared hosting server, however if you are on a Virtual Private Server (VPS) or a Dedicated Server chances are you are anxiously awaiting the little trick we have in store for you. This simply code snippet will stop that pesky step from ever entering your life again.

Simply open up your wp-config.php file and copy in this code.

define('FTP_HOST', '');
define('FTP_USER', 'your-FTP-username');
define('FTP_PASS', 'Your_FTP_password');
define('FTP_SSL', false);

Now simply replace the sample text with your own FTP Credentials, upload and overwrite the wp-config.php file in your WordPress websites hosting directory and say goodbye to those irritating FTP prompts in WordPress. Happy blogging.