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
- Sign in to cPanel and open Files > File Manager.
- Click Settings in the top-right corner.
- Select Show Hidden Files (dotfiles).
- Click Save.
- 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.