- Log into your cPanel account

- Go to File Manager (Files Section)

- Click the top-right Settings button.

- Then on the Preferences window, check the option Show Hidden Files (dotfiles)

- Confirm the action by clicking the Save button

- Now you will see all hidden files (including .htaccess files) in File Manager.