You can use cPanel’s built-in file manager to edit files on your website.
Steps to edit a File in the cPanel File Manager
-
Log in to your cPanel account.
-
In the Files section, click on File Manager.
-
Navigate to the directory where your file is located.
-
Right-click on the file. Then click on Edit or HTML Edit in the Context Menu.
-
In the HTML Editor window, click on Edit.
-
Make changes to the file and then click on Save Changes.
Your file has been successfully edited.