If you have experience operating websites then you probably know that editing codes is one of the most common tasks needed in order to run a website. The routine task of code editing is necessary in order to improve the performance of websites, making it as close to perfect as possible.
The task of code editing is usually performed on websites that need changes and updates. This process is typically done by downloading the file that needs to be modified using FTP and then performing the necessary edits on the file on a desktop PC or Laptop. After finishing the required edits, the file is then re-uploaded to the server using FTP to complete the update.
Code editing is a little bit complicated to perform, is time-consuming, and requires a basic knowledge of FTP. On the other hand, if you just need to perform minor changes on your website then instead of downloading and re-uploading files using FTP, you can simply use the code editor feature of cPanel to do the edits that you need.
To use the Code Editor Feature in cPanel, simply follow the given steps below.
Step 1: To begin, log in to your cPanel account
Step 2: In cPanel homepage, go to the Files section and click on the File Manager icon.
Step 3: After clicking the File Manager icon, cPanel will direct you to the File Manager interface page where you will see all the files and directories available on your server.
Step 4: In the File Manager interface page, locate the file that you want to edit, select it and then click the Code Editor tool located on top of the page.
Note: You can alternatively, right click on the file that you want to edit and then select Code Editor on the list that will appear on your screen.
Step 5: After clicking on the Code Editor, you should see the Code Editor interface on your screen.
It will display the current codes on the file that you have selected. You can easily Add, Edit and Delete codes in this screen.
The Code Editor interface includes the following properties:
Step 6: Perform the edits that you need on the Code Editor screen.
Step 7: After finishing the edits that you need for the file, click the Save button to save the changes.
Step 8: Congratulations! You have successfully edited your file using cPanel’s Code Editor Feature.