Hate having to type your server FTP details when upgrading WordPress? Would you like WordPress to remember your FTP login details? then read on…
Anybody familiar with WordPress will know that when adding/removing or upgrading any of your plug-ins, even upgrading the WordPress itself, you are prompted for the FTP connection details for your server, while not a big or frustrating step, it can be a pain if you don’t have the details to hand or want others to be able to upgrade your blog to ensure its secure but not give them the login details for the server.
The answer is surprisingly a simple one, you don’t need to install one of the various FTP Saver plug-ins and spend hours trawling through the code, and any updates, to check your details will be secure, all you have to do is add a few extra lines to your wp-config.php file by defining the connection details, WordPress will do the rest.
The constants should be defines as follows,
/** Store Server FTP Details */
define("FTP_HOST", "domain.tld");
define("FTP_USER", "username");
define("FTP_PASS", "password");
Once you have saved the config file, all you need to do is test it…
Tags: wordpress
Good to see this, they don’t make it very obvious on the wordpress site!
Hey, can some one tell me how to create or to get FTP details in wordpress.com blog, I thank you in advance
Hi,
wordpress.com dont give out ftp access to any blogs hosted on their site (see http://en.support.wordpress.com/ftp-access/ )
if you want to install your own themes or plug-ins, you need to host a copy of WordPress yourself. this page explains it pretty well – http://en.support.wordpress.com/com-vs-org/