Content Marketing

Autoupdates Failing on WordPress? FTP Failing?

WordPressRecently, we had a client that configured their own servers for use with WordPress. When the recent 3.04 security update came through, there was some sense of urgency to getting this version installed on all of our clients. However, this particular client always required that we upgrade WordPress manually… a process not for the faint of heart!

We wouldn’t get the typical “can’t write files” error on this blog. Instead we were provided a screen with FTP login. The problem was that we would fill in the FTP credentials and it would still fail… this time based on good credentials!

I got in touch with our friends at Lifeline Data Centers, Indiana’s largest data center, since they have some Apache geeks and have configured their own servers. They provided me with a simple solution – adding the FTP credentials directly within the wp-config.php file to hardcode the FTP credentials:

define('FTP_HOST', 'localhost'); 
define('FTP_USER', 'username'); 
define('FTP_PASS', 'password');

For some reason, the identical credentials that did not work in the form, worked perfectly when put in the configuration file! As well, it makes WordPress act just like it would without the need for FTP…. just click update and go!

Douglas Karr

Douglas Karr is a fractional Chief Marketing Officer specializing in SaaS and AI companies, where he helps scale marketing operations, drive demand generation, and implement AI-powered strategies. He is the founder and publisher of Martech Zone, a leading publication in marketing technology, and a trusted advisor to startups and enterprises… More »
Back to top button
Close

Adblock Detected

We rely on ads and sponsorships to keep Martech Zone free. Please consider disabling your ad blocker—or support us with an affordable, ad-free annual membership ($10 US):

Sign Up For An Annual Membership