• cPanel Hosting Features

cPanel File Manager: Editing Files

Editing an existing file through File Manager allows you to make immediate changes to your website without having to upload a new version of the file. 

cPanel file manager edit file

The Edit function is useful for small changes. However, if you need to make large alterations to a file, it might be easier to simply upload the new file and use the overwrite function to replace the existing file on the server.

  1. Navigate to the folder where the file is located.
  2. Click on the name of the file.
  3. Click on the Edit icon. This will open the Edit window.

    cPanel file manager edit files

  4. Click Edit. This will open a new window with the content of the file displayed.
  5. When ready, click Save Changes on the top toolbar.

    cPanel file manager edit file save changes

    The new changes will be saved and will take effect immediately.