How do I edit a file?

Editing a pre-existing file through File Manager allows you to make immediate changes to your web site, without having to upload a new version of the file. This is useful for small changes, but would be inefficient for large alterations.

To edit a file:

1. Navigate to the folder where the file is located.
2. Click on the name of the file.
3. Click on the Edit File link in the top-right corner of your window. This will open a new window with the contents of the file displayed.
Note: Clicking on the Show File link will display the contents of the file. However, you will not be able to make any changes to the file.
4. Alter the text of the file as you wish.
5. Click on the Save button when you have finished altering the file. The file has been saved and any changes will take effect from now on.

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to login to cPanel

Please watch our movie tutorial on how to login to cPanel. If you recently purchased a new...

How to see if Mod_Rewrite is enabled on site/server?

mod rewrite is installed and enabled by default on all servers supported by Hands-on Web Hosting,...

What is the difference between parked, addon, and subdomains?

An addon domain is a fully functional domain that can be created from your cPanel. Once it's...

How do I create a new file?

For small text files it can be easier to create them online, rather than on your home computer...

Can I upload files via an online file manager ?

Yes. Login to your Control Panel (http://www.yourdomain.com/cpanel/) and select "File Manager".