By default files starting with a period in their name such as .htaccess are not shown in the cPanel’s File Manager. But you can change a setting to show those files.
Step 1 – Login to your hosting account.
Step 2 – Click Hosting, then cPanel.
Step 3 – Scroll to the bottom of the cPanel page, and click “Reset All Interface Settings”.
Step 4 – Find the File Management section and click the File Manager button.
Step 5 – An option menu will open. Make sure the “Show Hidden Files” checkbox is checked before proceeding to open the File Manager.
That’s it! Now cPanel’s File Manager will show you all files including files starting with a period in the name.