How to Use the Code Editor in the cPanel File Manager
Editing code on your web site is an inevitable event. If you have minor changes to make on your web site that can be done simply, you can use the code editor in the cPanel File Manager to change the code. This is called "Editing on the fly", which is changing the files of the source website while its live. Let's go to cPanel File manager and see how this editor works.
Important! Editing the code in a file on the server can break your website. Because the file is being used by the live website, we always recommend editing a backup copy of your site instead of the files on the server. Make a backup copy of the file before editing it by saving the file as a different name.
Using use the Code Editor in cPanel
- Login into your cPanel.
- Go to the File Manager.
- Navigate to the page you want to edit. Select the file and click code editor.
Now you should see the basic code editor interface.
This is where you can add code or change code in your file.
When you are done making the changes, you can click Save Changes at the top right. Otherwise, click cancel.
The code editor has the following features.
›Section 5: Creating an Under Construction or Coming Soon page
Support Center Login
Social Media Login
Managing your Files in cPanel
|1.||How to Perform a Full Backup in cPanel|
|2.||Renaming files and folders in cPanel|
|3.||Using File Manager in cPanel|
|4.||How to Use the Code Editor in the cPanel File Manager|
|5.||Creating an Under Construction or Coming Soon page|
2014-07-30 11:41 am
When you make a copy of the file to edit by saving it under a different name then how do you implement the change? Do you have to delete the orginal file?
2014-07-30 11:45 am
If you save the file under a different name, it will create a second copy of the file. If you want to replace the original with that file, you would need to remove the original and rename the copy.