Jun 27, 2013
kalpesh

WordPress plugin install without FTP

Wordpress Connection Information Error

WordPress generally gives you page to fill FTP connection details when you try to install new plugin or update wordpress. The reason is it cannot write to wp-content directory due of lack of permissions to write. The best way is to change permissions and ownership of wp-content directory. But if you can’t do that because of some reason, then add the below line of code in your wp-config.php

1
define('FS_METHOD', 'direct');

Other way is to change permissions and ownerships to wp-content directory as said.

1
2
3
chown -R www-data wordpress
chgrp -R www-data wordpress
chmod -R 755 wordpress/wp-content

Leave a comment

 

Welcome to my Blog

Kalpesh MehtaHelping Magento developers in their day-to-day development problems since 2011. Most of the problems and solutions here are my own experiences while working on different projects. Enjoy the blog and don't forget to throw comments and likes/+1's/tweets on posts you like. Thanks for visiting!

Certifications