Hello Digital Ocean,
I am currently trying to access my wordpress directory on my droplet, through SFTP. When I sign in and gain access, the /root directory is empty except for a file called WORDPRESS, which is only 1.3kb large.
How can I get in there and edit all my files so that I can add new templates and such?
Here is a screenshot.
http://i.imgur.com/7Pz7Ipa.png
Thank you,
Austin Witherow
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
SFTP is not for editing. You can edit files using SSH to log in to your files and after doing that you can use an editor such as nano to edit your files.
This comment has been deleted
I’m an idiot. I just needed to go to the /var/www folder.
I’m an idiot. I just needed to go to the /var/www folder.
Was the /var/www folder something you were able to access in your admin area? or through SFTP?
You might consider creating a different user to manage your website. Using root for doing everyday things on your server can lead to …undesirable… results.