Quantcast
Viewing all articles
Browse latest Browse all 171

How to Fix WordPress Asking for FTP Credentials on Webuzo

So you installed Webuzo and run WordPress on your VPS but suddenly when you are about to install new plugin or theme WordPress asks you to enter FTP credentials. Yet, that also happens every time you want to install or update a plugin or theme. So how to fix that?

Image may be NSFW.
Clik here to view.
webuzo wp asking ftp

Well, there are basically two solutions you can follow one of it which are: by changing your WordPress directory ownership or by editing wp-config.php file. In this article I’ll show you how to fix WordPress asking for FTP information when installing or updating a plugin / theme on Webuzo control panel by simply editing your wp-config.php file.

Prerequisites

  1. A working VPS / cloud VPS with at least 512MB RAM. See: Digital Ocean, Ramnode, Atlantic or these recommended vps providers.
  2. Install Webuzo free control panel on it and do some basic tasks.
  3. Also install WordPress on your Webuzo server.
  4. A cup of tea and biscuits if you may.

Stopping WordPress From Asking FTP for FTP Details

p.s:
– always replace x.x.x.x with your server’s IP address.
– click on image to view the larger version.

Step 1 – Open up your web browser and login to Webuzo Enduser Panel at:
http://x.x.x.x:2002/

Image may be NSFW.
Clik here to view.

Simply enter Username and Password you defined during Webuzo install.

Step 2 – Open up Webuzo’s File Manager. The option is available in Server Utilities section:

Image may be NSFW.
Clik here to view.
webuzo file manager

Step 3 – A new browser tab will open with another login page. Simply use the same username and password you are using it to login to Webuzo panel.

Image may be NSFW.
Clik here to view.

You will then see something similar to this:

Image may be NSFW.
Clik here to view.

Step 4 – Now edit wp-config.php file by simply ricgh-clicking on it then choose Edit.

Image may be NSFW.
Clik here to view.

The File Editor window will appear. You can then edit any text just like in Notepad.

Image may be NSFW.
Clik here to view.
file editor wp config

Step 5 – Then put this code right after the Salt section or before the WordPress Database Table Prefix section:

define('FTP_USER', 'my-ftp-username');
define('FTP_PASS', 'my-ftp-password');
define('FTP_HOST', 'my-ftp-host-server');

It is something like this:

Image may be NSFW.
Clik here to view.
editing wp config add ftp

Step 6 – Replace these:

  • my-ftp-username with the same username used for login to Webuzo panel
  • my-ftp-password with the same password of your Webuzo username
  • my-ftp-host-server with your server’s hostname or ip address

here’s example:

Image may be NSFW.
Clik here to view.
editing wp config add ftp details

Do not forget to click the Save button to save changes.

Image may be NSFW.
Clik here to view.
saving changes

That’s it. Now you can try installing a new plugin again and you should not see WordPress asking for FTP information again.

Image may be NSFW.
Clik here to view.
wp install plugin success

This post How to Fix WordPress Asking for FTP Credentials on Webuzo is part of ServerMom.


Viewing all articles
Browse latest Browse all 171

Trending Articles