Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > Suggestions > Topic : Add FTP info into Wordpress script



Threaded Mode | Print  

 Add FTP info into Wordpress script, Auto add FTP info into wordpress (0 Replies, Read 3295 times)
zaangmedia
Group: Member
Post Group: Newbie
Posts: 1
Status:
One of the really cool features that you can do within the WordPress wp-config.php file is add in the FTP info.  Then whenever you are doing something like upgrading a plugin or Wordpress itself, you don't have to go grab that FTP info and put it in there. 

I'd like to see an additional set of questions asked for in the script.  First, would you like to do this (I can see some folks having security issues since you are putting the FTP password into plain text...but then so is your SQL password already).  Then what is the info needed.  Then you simply add the following into wp-config.php.

Code
/**
*Add FTP login credentials to avoid WordPress asking for FTP details every you upgrade or remove something
*/
define('FTP_HOST', 'ftp.domain.com');
define('FTP_USER', 'Your_FTP_Username');
define('FTP_PASS', 'Your_FTP_password');
/**
* If you want to use a SSL connection, you can set this to true
*/
define('FTP_SSL', true);

IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 25, 2024, 10:03 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.026