Solved

Unable to configure automatic FTP access for new Wordpress Site

Posted on 2013-06-24
2
415 Views
Last Modified: 2013-06-24
Dear Experts,
I used to have very painless experiences of installing Wordpress but with the latest version I seem unable to get it to automatically install themes and plugins.

It asks for ftp user information each time and it often fails to create the plugin as well.  

I have set the following things in my wp-config.php file:

define('FS_METHOD', 'ftpext');
define('FTP_BASE', '/path/to/wordpress/');
define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/');
define('FTP_PLUGIN_DIR ', '/path/to/wordpress/wp-content/plugins/');
define('FTP_PUBKEY', '/home/username/.ssh/id_rsa.pub');
define('FTP_PRIKEY', '/home/username/.ssh/id_rsa');
define('FTP_USER', 'username');
define('FTP_PASS', 'password');
define('FTP_HOST', 'ftp.example.org');
define('FTP_SSL', false);

However it tells me I cannot create the relevant directory.  How do I specify the FTP_HOST item?  Just the name of the Web site or the full path of the Wordpress installation.
best Wishes,
Phil
0
Comment
Question by:PTRUSCOTT
2 Comments
 
LVL 9

Accepted Solution

by:
TvMpt earned 500 total points
ID: 39270748
This is a permissions problem.

As you appear to be developing on your local machine, security shouldn't be an issue so could just change the permissions on wp-content/uploads to 777.
0
 
LVL 1

Author Comment

by:PTRUSCOTT
ID: 39273832
Your suggestion worked!
You are great.
Experts exchange is great!
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The viewer will learn how to count occurrences of each item in an array.

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question