1. Log into your cPanel account.
2. In the "Files" section, click on "File Manger" Icon.
3. cPanel File Manager will be open, select the appropriate domain name or folder location, and press the "Go" button.
4. Navigate to the directory where your file is located.
5. Right click on the file and then on "Edit" or "Code Edit" in the Context Menu.
6. If the small "Code Editor" window is open, click on the "Edit" button, which will open a new window with options you can edit.
7. Make changes to your file and then click on the "Save Changes" button.
How to Edit file in the cPanel File Manager?
Related Articles
How to change PHP version on your domain using cPanel?
Some software requires older version of PHP like 5.6 while other asks for PHP7. If it happens you...
How to Set the PHP Version per Domain, Using cPanel?Do you have multiple domains and you wish to set the PHP version per domain? For example, you...
How to check disk usage of directory and bandwidth usage?If you are receiving a disk space usage warning and don't know which folder is using too...
How to add CNAME Record in cPanel using the DNS Zone Editor?CNAME records are referred to as alias records since they map an alias to its canonical name. You...
How to Create an Additional Web Disk Account in cPanel?You can use cPanel login details to access your Web Disk. You can also create an additional...