Files whose names begin with a dot, such as .htaccess, can be hidden from cPanel’s File Manager view. Showing dotfiles lets you find and manage them without changing their contents.

Show hidden files

  1. Sign in to cPanel and open Files > File Manager.
  2. Click Settings in the top-right corner.
  3. Select Show Hidden Files (dotfiles).
  4. Click Save.
  5. Open the website’s actual document root and check the file list.

Check a missing file

This preference only changes visibility. It does not create .htaccess, restore a deleted file or grant access to another account’s files.

Confirm that you are viewing the correct directory. A site may not need an .htaccess file, particularly when it uses a different web-server configuration.

Back up an existing configuration file before editing it and take care not to delete other dotfiles used by the account or application.