How to show hidden files in cPanel
Files whose names start with a dot are hidden by default. One of them is .htaccess - web server settings for the site. You need to see hidden files to edit such a file, copy it together with the site, or find out why the site behaves oddly.
- Open "File Manager".
- Click "Settings" at the top right.
- Check "Show Hidden Files (dotfiles)".
- Click "Save".

Hidden files now appear in the list.

Common hidden files
| File or folder | What it is |
|---|---|
| .htaccess | web server settings for the folder: redirects, CMS pretty URLs, access rules |
| .user.ini | PHP settings for the site folder |
| .env | application passwords and keys (Laravel and other frameworks) |
| .well-known | folder used to verify the domain when an SSL certificate is issued |
| .trash | File Manager trash in the home folder |
Other File Manager preferences
In the same "Preferences" window:
- "Always open this directory in the future by default" - where to start: "Home Directory", "Web Root (public_html or www)", "Public FTP Root (public_ftp)" or "Document Root for" one of your domains. Handy if you mostly work with one site.
- "Disable Character Encoding Verification Dialogs" - open files in the editor without the encoding question. Do not turn it on if the account has sites in windows-1251: file editor.
Copy .htaccess before editing it (how to copy). A mistake in this file causes "500 Internal Server Error" on the whole site.
Do not delete or rename service folders in the home folder (.cpanel, .softaculous, .spamassassin and similar): they hold settings of the panel, the app installer and the spam filter.
Hidden files in an FTP client
FileZilla usually shows hidden files by itself. If .htaccess is not visible, turn on forced display of hidden files in the "Server" menu.