Viewing Hidden Files (htaccess) in cPanel’s File Manager

By Cronos Editorial Staff on May 03, 2022
Est. Reading: 2 minutes
Contents

Show Hidden Files .htaccess

By default, when you use the File Manager in cPanel, it doesn’t show hidden files. Hidden files are any file that begins with a dot, such as .htaccess. .htaccess is a common file to edit, so to edit the file using your File Manager, you’ll need to have the option selected to show hidden files. Keep reading to learn how.

Quick Steps:

  • Step 1. Log into cPanel & click “File Manager” under the files panel
  • Step 2. Click “settings” in the top right of the file manager
  • Step 3. Choose the Document Root (usually you can leave this as the default)
  • Step 4. Check the box titled “Show Hidden Files (dotfiles) & click Save

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 checkboxes.

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.

Read More: Thrive Architect Review (2022) – is it worth it?

Elementor Review – How Good Is It In 2022?

How To Increase The WordPress Upload Limit On An AWS Lightsail Bitnami Installation

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *