Skip to main content
Keep Your Business Open During COVID-19Learn More
Call us
Phone numbers and hours
Request a Call

Avoid the wait. Make a request and we will call you back

Request a Call
Help Center

Explore our online help resources

BlogHelp

WordPress Help

Fix the FTP popup in WordPress

You may encounter a popup for your FTP username and password when installing or updating a plugin in WordPress. Follow these steps to correct the problem:

  1. Connect to your website with FTP.
  2. Add these 3 lines anywhere within the wp-config.php file:
    define('FS_METHOD', 'direct');
    define('FS_CHMOD_DIR', (0705 & ~ umask()));
    define('FS_CHMOD_FILE', (0604 & ~ umask()));
    
  3. Save your changes and upload the file.
  4. Once inserted, you may need to refresh the WordPress Dashboard or clear your browser cache and cookies.

Note: It's important to insert these lines of code above the line: /* That's all, stop editing! Happy publishing. */.

You can now update or install plugins without this issue.

Community Related

belpurple's Avatar
Painfully slow in cPanel, FTP, website

1 Replies

Last posted over 1 year ago.

doccpu's Avatar
Cant ftp to site

4 Replies

Last posted almost 2 years ago.

kashif789us1's Avatar
FTP Connection Problem

9 Replies

Last posted almost 4 years ago.

MTsnow's Avatar
Security Incident... Account, no ftp or SSH

2 Replies

Last posted 10 months ago.

Don't see what you are looking for? Search the Community