If you get the following error while getting new theme or plugin or whatever directly from wordpress, the resolution is very simple. Although, you will need root access to your server.
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.
|
FTP connection required to download theme or plugin in wordpress |
You need to give full rights (rwx) on the DocumentRoot folder (where you have kept all wordpress files in server), or just change the ownership of your DocumentRoot folder to the web-service (www-data in case of Ubuntu).
# chown -R www-data:www-data yourDocumentRoot
|
Changing ownership of folder in linux |
Once you get the proper ownership, just try downloading the theme or plugin or whatever again. And now it should download directly without requiring any FTP connection.
|
Direct download from wordpress |
Like the aim goal of this blog. Keep adding stuff
ReplyDelete(Here I post things related to [...] and google won't give me straight and direct answers to. So, to not let this happen to other people, I put such things here which can save time for many people.)