I recently decided to add my wordpress blog to my domain, rather than having it separate on wordpress.com. I downloaded and installed 3.5.1, and installed it (I use CoreFTP for FTP access, and phpmyadmin for my database. LAMP stack server, Rackspace Cloud Server). The installation worked fine, and I’ve been able to log into the blog…but any attempt to install a plugin or theme, or import anything (like my posts from the wordpress.com blog) get a request for FTP details, and no combination of possible hostnames, usernames, and passwords has worked.
This appears to be a fairly common problem, and I’ve spent hours and hours on this, but every solution I’ve tried has failed. A lot of places suggest changing the wp-config.php file to include something like:
define( ‘FTP_USER’, ‘username’ );
define( ‘FTP_PASS’, ‘password’ );
define( ‘FTP_HOST’, ‘ftp.example.org:21’ );
That didn’t work (nor did a variety of similar fixes that had other things to define). I tried changing the permissions via FTP, even going so far as to make most of the blog 777, and even still that didn’t seem to work (I’ve since changed it back).
I got around this for a bit by manually adding plugins and themes by FTP, but that solution still doesn’t let me do things like upload media, and some of the plugins don’t work properly (for instance one to create a sitemap cannot do so).
One possibility I’ve seen raised elsewhere is that something is happening where the owner of the files is apache:apache (or something like that), which is not the user I use on CoreFTP, but I haven’t seen an explanation on whether that’s a solvable problem or not.
Any help on solving this issue would be most appreciated!
EDIT: Also worth mentioning:
I tried this solution, and it got the closest (seemingly) to working, but also failed. I added the following code to wp-config:
This got me past the FTP request, but when trying to install a plugin (for example), I get: Downloading install package from http://downloads.wordpress.org/plugin/(example plugin)
Unpacking the package…
Could not create directory. /(my site stuff)/www/blog/wp-content/upgrade/(example plugin).tmp
Even combining the above code change and changing permissions on all the wordpress folders to 775 didn’t work.
- The topic ‘WordPress wants FTP details for everything, installing plugins/themes, importing’ is closed to new replies.