How can I stop WordPress from prompting me to enter FTP information when doing updates?

Posted by Prem Tiwari | Updated on

How can I stop WordPress from prompting me to enter FTP information when doing updates?

If you edit your wp-config.php file you can preload these FTP settings as constants read by WordPress. Keep in mind, on a shared host, you should be mindful of possible security implications. See Editing wp-config.php for more information.

Your settings will vary, but these work for me and my hosting setup. I’ve included some of the unused constants, prefixed:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers