Solved

Unable to configure automatic FTP access for new Wordpress Site

Posted on 2013-06-24
2
412 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Export MYSQL to .CSV Add Column Names PHP 2 23
session dropped in IE 10 20
mysql left join sentence 7 22
PHP json decode 9 6
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now