How to edit a file online in the File Manager

For hosting customers · Updated 2026-10-29

On this page
  1. Steps
  2. Good to know
  3. Common questions

The File Manager has a built-in text editor for code and configuration files, so you can fix a line in wp-config.php or .htaccess without downloading the file.

Steps

  1. Log in to the control panel (https://<server>:2083).
  2. Open File Manager (section Files) and go to the folder of the file.
  3. Click the file name, or click Edit in its row.
  4. Change the text.
  5. Click Save, or press Ctrl+S (⌘S on a Mac).

You see Saved. and stay in the editor. Click Back to folder to return to the list.

Good to know

  • Which files can be edited: text files up to 2 MB. Images, archives, PDFs, fonts, videos and similar files have no Edit button; clicking them downloads them instead. A larger file shows The file is larger than 2 MB. Download it to edit it on your computer.
  • Tab inserts a tab in the editor instead of moving to the next field.
  • Line endings are kept. A file with Windows line endings (CRLF) is saved with Windows line endings.
  • Permissions are kept. Saving does not change the file's permissions, shown next to its path at the top of the editor.
  • Saving replaces the whole file at once, so a visitor never gets a half-written file.
  • There is no undo after saving. Before editing an important file, copy it: select it, click Copy, and copy it to the same folder under another name, or download it.

Common questions

How do I create a new file?

Click New File at the top of the File Manager, enter the name (for example .htaccess), then click the new file to edit it.

Why do I see "This is not a text file. Download it instead."?

The file contains binary data. Download it and open it with the right program on your computer.

My change to .htaccess does not work yet. Why?

Changes to .htaccess files are picked up within about a minute. See which .htaccess rules work.

Was this article helpful?

Still stuck?

Ask the AI about your exact situation — it answers from this knowledge base — or contact us.