Is your WordPress uploader asking for your FTP login information?

Quite random, but it turns out there were a few lines missing from the wp-config.php file from the previous host.

When trying to upload anything or update a plugin or theme, I got the page asking for my FTP information. I knew something was wrong because I was on GoDaddy’s Managed WordPress Hosting and it’s been great and I shouldn’t need to do that kind of thing. But it was happening.

Got on the phone with help and they couldn’t find anything wrong either. In the end, they added a few lines that had to do with permissions that fixed it.

Here you go, for your head-scratching pleasure:

define( ‘FS_METHOD’, ‘direct’);
define(‘FS_CHMOD_DIR’, (0705 & ~ umask()));
define(‘FS_CHMOD_FILE’, (0604 & ~ umask()));

For the record, we had just moved hosts, so the wp-config.php file wasn’t created from scratch but was from the old hosting.

2015-12-18T01:00:34+00:00

About the Author:

I’ve done the big corporate thing. I’ve done the creative writer thing. Now I’m happily in the middle. I like to help small businesses who are interested in “working their website before their website works them.” I’m also interested in creating beautiful sites with powerful WordPress themes. Google+

One Comment

  1. Writing Every Day Beyond 1,000 Posts December 18, 2015 at 1:02 am - Reply

    […] Is your WordPress uploader asking for your FTP login information? (Dec 17) […]

Leave A Comment

CommentLuv badge

css.php

Pin It on Pinterest

Shares
Share This