How to Show Hidden Files in cPanel?

In this article, we will show you how to locate or find hidden files and show hidden files in the browser-based cPanel File Manager.

It is essential to locate the files that are not viewable. Files such as .htaccess files, dot files and more are identified as hidden files. These .htaccess files, dot files, etc. are not visible by default.

so, what is the significance of these .htaccess files and dot files? The .htaccess file is a powerful file of the website that manages your website’s high-level settings. Dotfiles are setting files for a variety of programs that aid in the management of their functioning.

Hence mingling with these files without sufficient technical skills can cause your website to malfunction. Therefore these files are kept hidden.

Follow the steps below to view the hidden files in your cPanel File Manager.

Quick Steps:

#1: Log in to your cPanel account and select “File Manager” below the panel for Files.

#2: Select ‘Settings’ of the File Manager that is at upper right corner.

#3: Select ‘Document Root’; you can also keep this optional.

#4: Select the box with the title ‘Show Hidden Files (dotfiles)’ and click Save.

Once you log on to the cPanel account and begin to use the browser-based file manager, you will notice that you can view some hidden files in the files manager; they seem to be ‘Missing’.

By default, cPanel account doesn’t display files that are outside the PHP scripts or standard .html and directories.

This action prevents the files from being deleted and for your computer to function properly. Whenever you have the requirement to use these files, and they seem to be hidden/missing, don’t get all hassled.

Simply follow the instructions mentioned below, and you will be able to enable them & view them in the files section.

It all depends on the theme of the cPanel you are currently using; there are two different way that you can use to change the settings and enable the hidden files. The two types of cPanel themes are:

1) Paper Lantern cPanel Theme

2) x3 cPanel Theme

How to Show Hidden Files in cPanel 3

1) Paper Lantern cPanel Theme

At present, if Paper Lantern Theme from cPanel is what you’re using, then you will have to open File Manager that’s within the cPanel.

Above the File Manager, you will see an option; select this option. Once you have selected that option, you will reach the browser-based file manager.

Once you see the above screen, click the “Settings” button. If you look closely, you will find it on the top right corner of the screen.

As soon as you select the settings button, you will see a window – “Preference”. This window has a list of options with checkboxes.

Look at the list of options in the Preference window. You will find an option that says “Show Hidden Files (dotfiles)”. Go ahead and check this box.

Once you do so, you are enabling the display of all the hidden files and will be able to view the desired hidden file or .htaccess file etc. Now it’s time to save all the changes. To do so, click the “Save” button.

It’s time to see if all these steps have worked; for that, go to your cPanel File Manager, here you will see all the hidden files. It’s that simple.

Now that we have learnt how to change the settings on Paper Lantern Theme let’s move on to the next.

2) X3 cPanel Theme

The x3 theme is one of the most commonly used themes. If you happen to be using this theme, there is a simple way to view hidden files.

To begin with, look to the bottom of the page’ control panel. You will see a link that reads – “Reset All Interface Settings“.

Now click on this link. Once you have selected the link, you can return to the icon that reads “File Manager”. To enter the browser-based file manager, you will need to click on this icon.

Now once the file manager is open, you will come across a pop-up window that reads, “File Manager Directory Selection”.

Take a closer look at the image. To the bottom of the window, you will see an option that reads, “Show Hidden Files (dotfiles)”; you need to select this option.

Once you have selected “Show Hidden Files (dotfiles)”, click on the “Go” button. Post this action open the cPanel File Manager, and you will see all the hidden files.

I hope the article has been helpful, and you no longer need to get anxious over files not found.

If you follow the above instructions, I’m confident you’ll find what you’re looking for. You can also check our article on What is an Addon Domain and a Subdomain.

Leave a Comment