Tuesday, November 10, 2009

Resolving the "Unable to locate Wordpress Content Directory" issue

Do you use a Wordpress engine for your blog and recently whenever you try the automatic upgrade functionality you seem to get an error such as the "Unable to locate Wordpress Content Directory (wp-content)" issue?

Usually when you start upgrading either the Wordpress engine or your plug-ins via the automatic upgrade, you might come about the screen below.

FTP upgrade

Now upon entering all of your usual details, you might end up with the error below.

FTP upgrade2

The "Unable to locate WordPress Content directory" message would then pop up. This issue has been bugging me and after trying various fixes such as allowing the directory to have the necessary authorisations or including in codes into the theme files, it just didn't seem to fix the issue until I came about this solution.

FTP upgrade3

By using "127.0.0.1" as your Hostname, you will actually inform the engine to locate the LocalHost where your "wp-content" folder resides in.

0 comments: