cPanel's File Manager provides a convenient way to edit files directly on the web server without the need to upload a new version of the file. There are two editors available in cPanel's File Manager:
- Plain Text Editor: This editor is designed for editing text files, such as configuration files. It allows you to make changes to the file's content using a plain text interface.
To edit a plain text file using the plain text editor in cPanel's File Manager, follow these steps:
-
Log in to cPanel.
-
Open the File Manager.
-
Select the file you want to edit.
-
Click the "Edit" icon.
-
Choose the character set encoding for the file.
-
Make the necessary changes to the file's content.
-
Click "Save Changes" to save your modifications.
-
HTML Editor: This editor is specifically designed for editing HTML files. It provides a WYSIWYG (What You See Is What You Get) functionality, similar to word processing programs.
To edit an HTML file using the HTML Editor in cPanel's File Manager, follow these steps:
- Log in to cPanel.
- Open the File Manager.
- Select the HTML file you want to edit.
- Click the "HTML Editor" icon.
- Choose the character set encoding for the file.
- Make the necessary changes to the HTML content using the formatting toolbar.
- Click "Save" to save your modifications.
In addition to editing files, you can also view the contents of a file without opening an editor. To view a file in cPanel's File Manager, simply select the file and click the "View" icon.
Remember to select the correct character set encoding for the file to avoid any potential corruption.