Resolved: Wordpress FTP access for downloading theme or plugin

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

Comments

Popular posts from this blog

What is /dev/cciss/c0d0p1

Download firmware for HP Procurve and H3C devices

What is the difference between BackTrack and Kali Linux?