Synology: WordPress Request FTP Credentials To Download Plugins (Solved)

Synology WordPress Request FTP Credentials To Download Plugins (Solved)

You decided to manually install wordpress (latest version) and just when everything seems to have gone according to plan, you realize that despite being able to log in to your wordpress admin area, you can not download or even update any plugins or themes because you are required FTP credentials to perform these tasks every single time. Continue reading the entire article because you will find out that there is another method besides the FTP credentials. First step, go to Control Panel / File Services:

file services

Second Step: go to File Services and Enable SFTP service on port 22. Follow the instructions in the image:

SFTP-Synology

 

Most people forget to activate port forwarding in their router’s settings. If the ports that point to your synology device are not opened, all the services you have activated on those specific ports will not work. This is a step overlooked by many but essential for the perfect functioning of FTP. All you need to do is give your synology device permissions on the ftp ports, both TCP-UDP, both to port 21 and port 22. Follow the instructions in the image below and remember that each router has a different graphic than the one presented in this image.

port forwarding

Click on Create and follow the instructions in the image:

step by step new ftp user

Set web folder permission to Read/Write. Follow the instructions in the image:

new ftp user

Now leave everything like that and click next. Follow the instructions in the image:

step by step ftp

Allow FTP and Follow the instructions in the image:

step by step ftp

Now leave everything like that and click next. Follow the instructions in the image:

step by step ftp

Now leave everything like that and click Apply. Follow the instructions in the image:

step by step ftp

The FTP user has been created.

user ftp creation

Now try to download wordpress plugins by entering the FTP user credentials you have created.

wordpress download plugin

If you want to avoid inserting the FTP credentials every time you want to download/update plugins or themes, go to File Station – Web – WordPress – wp-config.php
Download the wp-config.php file, edit it in notepad and, at the end of the file, insert this code:

//**The next line allows direct downloads*/
define('FS_METHOD', 'direct');

It should look like this when you save the file:

wp-config

After you do this, upload the file to File Station – Web – WordPress – and overwrite the existing wp-config.php file with the new one. Now you can try to install some plugins and no FTP credentials will be requested.

After a lot of searching, I hope that, here, you have found the solution to the WordPress problem that did not allow you to download plugins or themes because of a matter of permissions and credentials. If you have other problems or questions about the FTP operation, you can leave a comment below.

paypal This article is free, but powered by your donations. Updated on