Using FTP and SFTP

Most WordPress work happens in the admin, but sometimes you need the files themselves: to upload a theme that is too big for the uploader, to edit wp-config.php, or to recover from a plugin that has locked you out. Two tools cover it: the file manager in the control panel, and FTP or SFTP from your computer.

The file manager first

For a quick edit, the control panel's file manager is enough and needs no setup. Open the site in your account area, press Open control panel, and open the file manager. You can upload, download, rename, edit text files, and change permissions in the browser.

Create an FTP account

  1. In the control panel, open the site's FTP section.
  2. Create an account with a username and a strong password. Starter includes one FTP account; Unlimited and Enterprise VPS include more.
  3. Note the hostname shown. It is ftp.affiliatehost.com.

Connect over SFTP

SFTP encrypts everything, so prefer it over plain FTP. In FileZilla, Cyberduck, Transmit, or WinSCP:

Protocol
SFTP
Host
ftp.affiliatehost.com
Port
22
Username and password
The FTP account you created

Plain FTP on port 21 works too, but your password travels unencrypted. Use it only if your software cannot do SFTP.

SSH and Git

Unlimited and Enterprise VPS include SSH access and a Git deployment tool in the control panel. SSH uses the same hostname with an SSH key you add in the panel. The Help Desk in your control panel has the setup steps.

Where things are in WordPress

public_html/
The web root. index.php, wp-config.php, and the WordPress folders live here.
wp-content/themes/
One folder per theme. Upload a theme zip here unzipped, then activate it in the admin.
wp-content/plugins/
One folder per plugin. Renaming a plugin's folder deactivates it, which is the classic rescue when a plugin breaks the admin.
wp-content/uploads/
Your media library, by year and month.
wp-config.php
Database settings and constants. Take a copy before editing.

Good habits

  • Download a copy of any file before you change it.
  • Do not edit theme files directly; use a child theme so updates do not overwrite your changes.
  • Remove FTP accounts you no longer use, and never share one across people.
  • Large uploads such as a whole media library go faster with a desktop client than through the browser.

Was this helpful? If something here is unclear or out of date, tell us and we will fix it.

Detailed control panel how-tos live in the Help Desk inside your control panel. Open it from your account area.