Personal Web Space

WordPress plugin update Connection Information

WordPress plugin update Connection Information

By on Oct 13, 2015 in Blog | 18 comments

A common error that you can come across while updating your WordPress plugins is the one in the screenshot where WordPress is requesting to provide the Connection Credentials in order to be able to update.


For me personally this happened when I moved my websites to a new server and the permissions of the files changed. WordPress is checking the ownership of the files while updating and they must match some specific criteria described in various posts in the web.

There is no need to go into much detail on what is causing the problem since there is a very simple solution which worked on all my websites. Just add below line at the bottom of wp-config.php and you are done!



  1. Genius! Thank you. Such a simple solution to a problem that’s been doing my head in for hours.

    Beverly Smaxx

    November 24, 2015

  2. Thanks for this quick solution! I’m gonna post this solution on my blog too. I just moved my websites to a new faster VPS and having a hard time with this issue.

    Thank you so much!!


    Clint Entorum

    November 28, 2015

  3. Most excellent. Worked for me too. And I learned a ton. Had to go look that up and learned so much more about the wp-config.php file.

    I’m just in the process of moving 10 sites between servers and in the middle, I started locking down security a bit better.

    This little gem helped me keep the security in place but update the software too.



    December 15, 2015

  4. Cool beans! It worked!
    I was trying different methods since Bitnami has a tricky way of setting up your Amazon Web Server and the FTP is by means of a private key, so it is very tough trying to setup an ftp credentials. I read other blogs and tried chown method for the user running the php process and didnt work.
    This one totally nailed it! Thanks for this!


    January 6, 2016

  5. Thank you!! This was perfect.

    Media Parlour

    February 20, 2016

  6. Thank U!!


    May 28, 2016

  7. Thanks man. You are genius. Keep your tips flowing


    June 1, 2016

  8. It works 100%. Thanks!!


    June 13, 2016

  9. Thank you!
    Tried everything before such as giving any kind of permissions and this simply directive worked for me.


    June 22, 2016

  10. BOOM !!! You are the MAN!!!

    This solved my Import WordPress issue

    Import WordPress Sorry, there has been an error. The uploaded file could not be moved to wp-content/uploads

    I’ve tried allsorts and this worked immediately, goof work…

    Rick Ingham

    October 27, 2016

  11. Wow! it really worked.
    I was trying to fix this issue from 2 days, tried running SSH commands and added FTP credential to wp-config file but nothing worked.
    But your 1 line solution worked perfectly.

    Is there any security concern adding this file? Please let me know.

    Thank you

    Sandeep Singh

    March 10, 2017

  12. Didnt work for me.

    Installation Failed : Could not create directory


    March 12, 2017

    • Likewise brian. Could not create directory.


      March 14, 2017

    • There are no installation instructions in the post, just to edit a file. What exactly were you guys doing and it could not create a directory?


      March 15, 2017

  13. I manually installed WordPress on my Synology NAS. And i can’t get this to work. I’ve updated folder ownerships and included this in my wp-config.php. I didn’t have the popup but i got this error ‘Could not fully remove plugin xxx.php’ [i’m trying to remove a plugin to test for this issue]

    Gene D.

    March 30, 2017

  14. works perfect buddy thanks ^^

    Prashant gupta

    April 10, 2017

  15. where link this plugin


    July 12, 2017

Post a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.