How to save FTP details in WordPress website?

When using WordPress you might have seen an alert box asking you to add FTP details to download new WordPress plugin or update WordPress plugin.

How to save FTP details in WordPress website? 1

The wp-config.php file can be used to define constant values.  You can add below code to your wp-config.php file to get rid of FTP alert.

FTP Access

If you have FTP details, then the more secure way is to add constants to the wp-config.php file.

For Secure Connection

For a secure connection add the below code in wp-config.php:

Disclaimer: *This post may contain affiliate links. I may earn a small commission when you click on the links and buy the products with no additional cost to you. Thank you.


Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments