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 Set the PHP Version per Folder?
Do you have a single domain or wish to use different PHP version per folder? Do you have an...
How to add a MX Record in cPanel using DNS Zone Editor?A mail exchanger record (MX record) is a type of resource record in the Domain Name System that...
How to edit or remove CNAME Record in cPanel using the DNS Zone Editor?You can edit or remove CNAME Record from cPanel using the cPanel DNS Zone Editor which allows 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 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...