HaBangNet Corp

×
×

How to set up WordPress FTP Credentials within wp-config.php

Back

The particularly result of this setup is that clients have no way to update WordPress or plugins if they do not know their FTP login username and password.

WordPress.org developers have included an option within WordPress to remedy this predicament. All you need is access to your web hosting company’s File Manager or FTP access in order to view and edit the wp-config.php file. This file is located in the top directory of your account, listed just above the /wp-content directory.

Once you’ve opened or “Edit“ed your wp-config.php file, just add the lines below in grey above the line:
/* That’s all, stop editing! Happy blogging. */

Example FTP connection text for your wp-config.php:*


define('WP_DEBUG', false);

define('FTP_USER', 'example');
define('FTP_PASS', '*******');
define('FTP_HOST', 'example.com:21');
define('FTP_SSL', false);

/* That's all, stop editing! Happy blogging. */


Save the wp-config.php file and do a check on your wordpress.

And no more manual entry of FTP detail and password in future.


Powered by HostBill