How to use editors in cpanel’s file manager

The file manager editors

When you edit a file using cPanel's File Manager, you can make immediate changes to your web site without the need to upload a new version of the file. cPanel has two editors that you can use to edit files directly on the web server:

  • A plain text editor for editing text files. This editor is intended for use with plain text files, such as configuration files.

 

  • An HTML Editor that is intended for use with HTML files. This editor provides WYSIWYG (What You See Is What You Get) functionality. It provides many of the features that users of word processing programs are familiar with, such as spell check, formatting toolbars, and so on.

Additionally, if you just want to view a file's contents, you can do so without opening the file in an editor.

 

 

How to view a file

You may not always need to edit a file. If you just want to take a quick look at a file's contents, you can view it without opening an editor.

To view a file in File Manager, follow these steps:

  • Login to cPanel

 

  • In the FILES section of the cPanel home screen, click File Manager

 

 

  • In the File Manager main window, select the file that you want to view.

 

  • Click the View icon

The file's contents appear in a new page.

 

 

Editing a file using the plain text editor

 To edit a file using the plain text editor, follow these steps;

  • Login to cPanel

 

  • In the FILES section of the cPanel home screen, click File Manager

 

  • In the File Manager main window, select the file that you want to edit.

 

 

  • Click the Edit icon

 

  • Select the character set encoding that the file uses. The default is utf-8 (Unicode).  (Make sure that you select the correct character encoding for the file. Otherwise, the file may become corrupted.)

 

 

  • Click Edit. The file's contents appear in a new page, ready for editing.

 

  • To save your changes, click Save Changes. ( If you don’t want to save changes just close page)

 

 

  • To close the editor, click Close.

 

Editing a file using HTML editor

To edit a file by using the HTML Editor, follow these steps:

  • Login to cpanel
  • In the FILES section of the cPanel home screen, click File Manager

 

  • In the File Manager main window, select the file that you want to edit.

 

 

  • Click the HTML Editor icon

 

  • Select the character set encoding that the file uses. The default is utf-8 (Unicode).

 

  • Click Edit. The file's contents appear in a new page, ready for editing.

 

 

  • To change the formatting, use the formatting toolbar. For example, you can change the font size and text alignment, add bulleted and numbered lists, and much more.

 

  • To view the web page's HTML source code, click Source

 

  • To preview the web page, click the preview icon

 

  •  To save changes, click the save icon
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to redirect HTTP traffic to HTTPS using an htaccess file

The below code when added to an htaccess file will automatically redirect any traffic destined...

How to check PHP version and configuration

Login to your cPanel Locate Software Tab and click PHP Version Select to increase or decrease...

What is an index page?

The index page is the URL or local file that automatically loads when a web browser starts and...

MySQL Database Access Outside of cPanel

There is no way to grant permission to just MySQL or phpMyAdmin. You can have them access the...

Disk Space and Bandwidth Usage

Disk Space Usage Log in to your cPanel Navigate to the Files section on the cPanel. Click...