How to Edit a File in the cPanel File Manager

To edit files on your website, you can utilize cPanel's inbuilt file manager.

1. Log in to your cPanel account.

2. In the Files section, click on File Manager.
 File manager icon
3. Navigate to the directory where your file is located.

4. Right-click on the file. Then click on Edit or HTML Edit in the Context Menu.

HTML edit icon

5. In the HTML Editor window, click on Edit.
HTML edit icon

6. Make changes to the file and then click on Save Changes.
Modified HTML

Your file has been successfully edited.

Was this answer helpful?

Related Articles

How to Change the PHP Version for Each Domain in cPanel

Do you have multiple domains and wish to configure the PHP version for each one? PHP 8.1 can be...

How to Change the PHP Version in Each Directory in cPanel

Do you want distinct PHP versions in each directory? This is possible using cPanel and the...

How to Monitor the Disk and Bandwidth Usage of Directories

If you receive a disk space utilization warning from cPanel and don't know which directory is...

How to Reset the PHP Version to the Default Version in cPanel

If you want to reset the PHP version to its default state, perform these steps: 1. Log in to...

How to Update the cPanel's Contact Information or Receive Notification of Resource Limit Exceedance

If you want to receive a notification on reaching your disk quota, bandwidth usage limit or wish...