Flash Sale:75% Off Hosting + Free DomainEnds in13h47m14sView Plans
Hostvento logoHostvento

How to Show Hidden Files in cPanel File Manager

Some files do not appear in File Manager at first. This guide shows you how to make them visible.

Files and FTP2 min read10 steps3 screenshots

What are hidden files?

On a Linux server, a file whose name starts with a dot is hidden. Examples are .htaccess and .user.ini. They are hidden on purpose. They hold settings, and hiding them keeps people from deleting them by accident.

These files are often called dotfiles, because of the dot at the start of the name.

cPanel is the control panel for your hosting account. A control panel is a website where you manage your hosting. File Manager is the tool inside it that lets you see and change your website files.

Why would you need them?

  • You want to edit your .htaccess file to add a redirect.
  • A guide tells you to change a setting in a dotfile.
  • You want to back up everything, including settings files.

Steps

  1. Log in to cPanel. You can find your login details in your Hostvento welcome email.
  2. In the Files section, click File Manager. It opens in a new tab.
    Screenshot: In the Files section, click File Manager . It opens in a new tab.
    Screenshot: In the Files section, click File Manager . It opens in a new tab.
  3. Look at the top right corner. Click Settings.
  4. A small window opens named Preferences.
  5. Tick the box Show Hidden Files (dotfiles).
  6. Click the blue Save button.
  7. The file list reloads. Now you can see the hidden files.

In the same window you can also choose which folder File Manager opens first. The choices include your home folder and your web root. The web root is the folder where your website files live, usually public_html.

Hide them again

You can turn the setting off any time.

  1. Click Settings again.
  2. Remove the tick from Show Hidden Files (dotfiles).
  3. Click Save.
Tip: Be careful once hidden files are visible. Do not delete or rename a file if you do not know what it does. Deleting a settings file can break your website. If you are unsure, make a copy first.

What if I still cannot see the file?

  • Check that you are in the right folder. A file in public_html will not show while you are looking at another folder.
  • Click the Reload button in the top menu.
  • The file may not exist yet. Some sites do not have a .htaccess file until a program creates it. You can make one with + File.

If you still need help, open a support ticket.

Quick recap

  • Hidden files start with a dot and hold settings.
  • Open File Manager, then click Settings.
  • Tick Show Hidden Files (dotfiles) and click Save.
    Screenshot: Tick Show Hidden Files (dotfiles) and click Save .
  • Be careful before you change or delete any hidden file.