cPanel file manager – show hidden files (dot files, .htaccess and more)

When logging into cPanel to use the browser based file manager, you may find that some files appear to be “missing” from the file manager. This is because by default, cPanel does not display files outside of the standard .html or .php files and directories. The reason for this is to prevent these files from potentially being deleted. If you find yourself in a position where you need to access these files but they appear to be missing, simply follow the steps below to enable them. Depending on which cPanel theme you are using, there are two separate ways to access the setting to enable them.

Paper Lantern cPanel Theme:

If you are using the cPanel theme called “Paper Lantern”, you will need to first open the file manager from within cPanel, as shown in the image below.

file-manager-cpanel-hosting

 

You’ll click on the option shown above for “File Manager” and you’ll then be taken into the browser based file manager, as shown below.

 

file-manager-opened

 

You will then want to click on the “Settings” button found at the top right of the screen, which is shown in the image above. After you click the settings button, you’ll be presented with a “Preferences” window that contains a few check boxes.

 

preferences

 

To enable the hidden files to be displayed, you’ll need to ensure the check box for “Show Hidden Files (dotfiles) is checked, then click “Save”. Now, when you go into your file manager you will see the previously hidden files.

 

x3 cPanel Theme:

If you are using the x3 cPanel theme (most common) you will simply need to navigate to the bottom of the control panel page and locate the “Reset All Interface Settings” link.

 

x3-cpanel-reset

 

After clicking this link, you can now go back up to the file manager icon and click to enter the browser based file manager. Once you have clicked to open the file manager, you should be presented with a similar popup window titled “File Manager Directory Selection”.

 

x3-cpanel-preferences

 

On the lower half of this popup preferences screen as shown above, simply check the box for “Show Hidden Files (dotfiles)” and then click “Go”. Now, the hidden files will be displayed when opening the cPanel file manager.

  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Also Read

Changing File Permissions

We recommend that you set your files to 644 and your folders to 755. If you are using a PHP...

How to use FTP with Filezilla

FileZilla is a powerful and free FTP client used for transferring files over the Internet to your...

How to view your cPanel disk space usage

In order to view your cPanel disk space usage, there’s a great tool located inside of your...

cPanel virus scanner – how to use ClamAV from within cPanel

First, you’ll want to locate the “Virus Scanner” icon in cPanel. This will be located under the...