- Log in to your cPanel account.
- In the Files section, click File Manager.
- Select the domain or folder location, then click Go if prompted.
- Navigate to the directory containing the file.
- Right-click the file and select Edit or Code Edit from the context menu.
- If a Code Editor confirmation window appears, click Edit to open the editor.
- Make your changes and click Save Changes. Close the editor when finished.
