In Unix-like operating systems, hidden files and folders are prefixed by a period (i.e., a dot) and are not normally visible when examining the contents of the directory using either an ordinary ls command or an un-configured GUI file manager. Many operating systems and application programs routinely hide objects in order to reduce the chances of users accidentally damaging or deleting crucial system and configuration files. However, occasionally, you may need to make changes to such files (as in the case with an .htaccess file).
The thing is that cPanel File Manager does not display hidden files/folders by default and this article is intended to show you a workaround.
- Log into your cPanel control panel
- Click the "File Manager" icon
- You're in your account's home directory now
- Double click the globe icon next to the public_html directory
- Click the "Settings" button in the upper right corner
- Tick the "Show Hidden Files (dotfiles)" checkbox
- Click the "Save" button
- You're now able to view hidden files and folders
Warning: Please be careful when making changes to hidden files as it may cause irreversible consequences