Solved

Unable to configure automatic FTP access for new Wordpress Site

Posted on 2013-06-24
2
418 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

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.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

739 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