Login to your cPanel account.
In the
Files
section, click on theFile manager
icon.cPanel file manager will open. select the appropriate domain name or folder location and press the
Go
button.Navigate to the directory where your file is located.
Right click on the
file
and then on theEdit
orCode Edit
in the Context Menu.If the small
Code Editor
window is open, click on theEdit
button which will open a new window with options you can edit.Make changes to your file and then click on the
Save Changes
button.