Install wordpress plugins without entering FTP details

Did you get error when upgrading or installing plugin from built in wordpress core update engine? Certain webhosts like byethost doesn’t support inbuilt feature of updating plugins from wordpress admin panel.

You get errors like:  “unable to locate wp-content directory” , “unable to locate plugins directory” .

What to do in such case?

Don’t worry, there is an easy workaround for it.Just add the following lines at the end of your wp-config.php file located in the wordpress blog directory.

/** Override default file permissions */
if(is_admin()) {
add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
define( 'FS_CHMOD_DIR', 0751 );
}

With this, you can easily update and install new plugins and themes from wordpress admin panel(dashboard) without entering FTP login info and hence eliminating the above-mentioned error.

Let me know if you still face any problem!

If you enjoyed this post, make sure you subscribe to my RSS feed!

No related posts.

Subscribe!

If you enjoyed this post, you will definitely enjoy our others. Subscribe to the feed to get instantly updated for those awesome posts soon to come.

One Response to “Install wordpress plugins without entering FTP details”

  1. Purviguisee says:

    Premium article, amazing looking weblog, added it to my favorites.

Leave a Reply

CommentLuv Enabled

Random posts

  1. Make your post titles beautiful enough to boom on blogging carpet
  2. Install wordpress plugins without entering FTP details
  3. Use SMTP to send mails from wordpress blog
  4. Blogging 41
  5. Wordpress 2.9 features and upgrade tool
  6. Why should I invest in domain and hosting purchase
  7. Blogging My expertise and Experience
© SiteMaster.in – Blogging tips, Domain & Forum Help — theme designed by Ricky