Skip to main content
  1. Home
  2. Knowledge Base
  3. cPanel
  4. How to Edit a File Using the cPanel File Manager

How to Edit a File Using the cPanel File Manager

You can edit the files in your GreenGeeks account using a text editor and upload them with an FTP program, but if you prefer a web-based alternative, there is a File Manager built into cPanel.

To access the File Manager, log in to GreenGeeks and go to cPanel by clicking the “cPanel Login” button in the “Quick Server Login” section.

GreenGeeks dashboard click to log in to cPanel

In the “FILES” section, click the “File Manager” link or icon.

cPanel select section FILES > File Manager

When you log in to the File Manager, you will be in the root directory for your account. Most of the time you’ll be working with website files, and they are located in the “public_html” directory.

cPanel file manager step 1

To Edit a File in the Cpanel File Manager

On the right side, select the file you want to edit.

Right-click the file name to open the menu, or click the “Edit” or “HTML Editor” links in the top toolbar.

cPanel file manager upload file step 4

Selecting “Edit” opens the file in a window similar to a text editor.

cPanel file manager upload text editor

Selecting “HTML Editor” opens the file in a visual editing window.

cPanel file manager visual editor

Before you get to the file editor, a file encoding popup will open. If your website uses English and standard characters, click the “Edit” button. If your site uses another language that does not use UTF-8 encoding, select the appropriate encoding and click the “Edit” button.

(To prevent the popup from opening every time you edit a file, click the “Disable Encoding Check” button.)

cPanel file manager edit file step 1

To save your file in the text editor, click the “Save Changes” button.

cPanel file manager edit file step 5

To save your file in the visual editor, click the “Save” button.

cPanel file manager edit file step 6

Other File Manager articles:

Was this article helpful?

Need Support?
Can't find the answer you're looking for?
Contact Support

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.