Doc WordPress WordPress Tricks, Tips & Snippets


Stop WordPress asking for FTP details when trying to install or update plugins

Depending on your server's settings and file permissions your WordPress system might not be allowed to update or install plugins by itself, causing it to ask for FTP access data whenever you try it. Manually entering those can be time consuming and annoying, luckily there is a better way!

You can actually define the FTP credentials permanently in the wp-config.php (found in the root of your WP install) and by doing so prevent WordPress from ever nagging you again. Just add this code to your wp-config.php:

/** Setup FTP Details **/
define("FTP_HOST", "localhost");
define("FTP_USER", "the-ftp-username");
define("FTP_PASS", "the-ftp-password");

Don't forget to replace the FTP_HOST, FTP_USER and FTP_PASS with the real access credentials.

Comments (0) Trackbacks (0)

No comments yet.

Leave a comment

No trackbacks yet.