If you are trying to edit a hidden file such as your .htaccess file in the cPanel File Manager and cannot seem to see them, this guide will show you how you can view those files.
1. Accessing the cPanel File Manager
To start with, login to your cPanel account. Once you are logged in click File Manager.
2. Changing the File Manager settings
Now you’re on the File Manager, click on Settings in the top right and make sure the “Show Hidden Files (dotfiles)” checkbox is ticked.
There we go. If you go to your websites directory you should now be able to view all your hidden files such as .htaccess.