April 3, 2013 at 4:54 am #32794
I'm about to install my first WP site to a clients (SFTP) server. We tried FTP access but that got really messy, so I got the webmaster to do the basic install and I thought I'd do the rest from dashboard. I have a host name, username and password, but I'm having no lock either updating plug-ins (my creds don't check out??), or uploading the genesis framework (Unable to create directory: "directory address here". Is parent directory writable by the server?? ).
So I'm stuck and would appreciate any help you may be able to provide.
My grateful thanks,
FFApril 3, 2013 at 7:49 am #32811April 3, 2013 at 4:08 pm #32927
@flashfabio - I don't think you want to rush out and change the permissions on the server or suggest this to the server admin. It sounds like the server admin has set up WP properly from a security perspective, and in that setup, you CANNOT install or upgrade plugins from within the WP UI, no matter what your username or WP role is.
If you're talking about client work, you will come across as less than well-informed if you recommend changing permissions to be less secure if the server admin intentionally put those restrictions in place. Instead, you should ask the server admin WHY the setup is what it is. If it is by design, for theme/plugin upgrades, you will need to do those via either SSH or SFTP using the credentials that can write to the theme/plugin folders - which are not the same as those that running the WP UI. If it's not by design, the server admin ought to do a little more reading on how to secure WP.
April 4, 2013 at 4:09 am #33019
Thanks Bill and Brad for both your suggestions. I'll have a chat with the admin guys and resolve the issue. Once its done I'll let you know how it went.
FFApril 4, 2013 at 4:20 am #33021
Another suggestion Fabio is to install a good security plugin like Wordfence, take regular full backups and store them away from your server.
I've seen some web hosts place restrictions on what plugins can be installed and use file permissions to protect the data and files however this also takes away your freedom to customize your site.
WordPress offer a list of excellent shared hosts for small sites here http://wordpress.org/hosting/
April 4, 2013 at 5:21 am #33027
So I'd like to have a backup option in case admin has no idea how to tackle the problem - not out of the realm of possibility.
1. I download the ENTIRE local folder from the server via FTP and upload it to the clients server intact. Would this work? I am hoping that all file references are local and don't use global; addresses, and that there are no files of databases that WP references outside that folder.
2. I install the themes manually and export/import the changes I made from the staging site to the client server. Problem - Do I install the Genesis folder and the Associate folder (theme folder) side by side under themes? Will it work this easily??
I appreciate your patience and forbearance with this issue, and promise to not work on secure servers in the future...
FFApril 4, 2013 at 5:36 am #33029
Are you referring to a migration/transfer to another directory or domain?
If so, i suggest you install the WP Migrate DB plugin and change the server paths and domain in the plugin settings.
Export the DB SQL file and create a new db on the new server where you can import the DB's .sql file.
Upload the files and change the wp-config.php with the new db connection details (user,name and password)
April 4, 2013 at 5:55 am #33034
That all sounds reasonable. I'll give it a go.
So when you say "upload the files" I still need to manually move all the files from my staging server to the clients server; and then import the SQL file and modify the wp-config.php. Is that right?April 4, 2013 at 6:58 am #33040April 4, 2013 at 7:03 am #33042
Thanks again. You're a champ.
You must be logged in to reply to this topic.