Deprecated: Required parameter $post follows optional parameter $content in /customers/6/9/3/kjetil.org/httpd.www/wp-includes/functions.php on line 840 Warning: Private methods cannot be final as they are never overridden by other classes in /customers/6/9/3/kjetil.org/httpd.www/wp-includes/class-wp-session-tokens.php on line 69 Deprecated: Required parameter $tt_id follows optional parameter $object_id in /customers/6/9/3/kjetil.org/httpd.www/wp-includes/nav-menu.php on line 1060 Deprecated: Required parameter $taxonomy follows optional parameter $object_id in /customers/6/9/3/kjetil.org/httpd.www/wp-includes/nav-menu.php on line 1060 Deprecated: Required parameter $block_attributes follows optional parameter $block_name in /customers/6/9/3/kjetil.org/httpd.www/wp-includes/blocks.php on line 405 Deprecated: Required parameter $block_content follows optional parameter $block_name in /customers/6/9/3/kjetil.org/httpd.www/wp-includes/blocks.php on line 405 Deprecated: Required parameter $nonce follows optional parameter $formdata in /customers/6/9/3/kjetil.org/httpd.www/wp-content/plugins/wp-pagenavi/scb/Forms.php on line 65 Deprecated: Required parameter $args follows optional parameter $file in /customers/6/9/3/kjetil.org/httpd.www/wp-content/plugins/wp-pagenavi/scb/Cron.php on line 24 Deprecated: Required parameter $strip_html follows optional parameter $limit in /customers/6/9/3/kjetil.org/httpd.www/wp-content/plugins/fusion-builder/inc/lib/inc/functions.php on line 476 Deprecated: Required parameter $filter follows optional parameter $social_networks in /customers/6/9/3/kjetil.org/httpd.www/wp-content/plugins/fusion-builder/inc/helpers.php on line 975 Deprecated: Required parameter $defaults follows optional parameter $social_networks in /customers/6/9/3/kjetil.org/httpd.www/wp-content/plugins/fusion-builder/inc/helpers.php on line 975 Deprecated: Required parameter $strip_html follows optional parameter $limit in /customers/6/9/3/kjetil.org/httpd.www/wp-content/plugins/fusion-builder/inc/helpers.php on line 3017 How To Solve WordPress If Asking FTP Account When Installing Plugin – Kjetil Mardal @ Kjetil.org

How To Solve WordPress If Asking FTP Account When Installing Plugin

How To Solve WordPress If Asking FTP Account When Installing Plugin

 

Wordpress LogoThis may happen in small cases. WordPress asking your FTP password when you want to install plugin from your WordPress admin. I still don’t know what cause it, but in most cases is because server configuration which may different in every share hosting.

So just in case you have this issue you can add your FTP account in your wp-config.php. Here how to do it:
1. Download your wp-config.php, open it in your favorite text editor.
2. Insert these lines somewhere in your wp-config.php, but i prefer put it under database code:

====================================
/*** FTP login settings ***/
define("FTP_HOST", "localhost");
define("FTP_USER", "ftp-user");
define("FTP_PASS", "ftp-password");
====================================

Note: don’t forget to change “ftp-user” and “ftp-password” to your ftp account credential
3. Save and upload your wp-config.php file again.
4. Test it, and it should be fine now.

 

 

«To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.»