Hidden files in Linux systems, including .htaccess, start with a dot and are not displayed by default in cPanel's File Manager. Here’s how to enable the visibility of hidden files so you can access and edit them.

What You’ll Learn:

  1. Logging into cPanel.
  2. Accessing File Manager.
  3. Enabling Hidden Files Visibility.

1. Log in to cPanel

  • Go to your cPanel login URL (usually yourdomain.com/cpanel).
  • Enter your username and password.

2. Access File Manager

  1. In the cPanel dashboard, scroll down to the Files section.
  2. Click on File Manager.

3. Enable Hidden Files Visibility

  1. Open Settings:
    • In the File Manager, look for the Settings button in the upper-right corner and click on it.
  2. Show Hidden Files:
    • In the pop-up window, you’ll see an option labeled Show Hidden Files (dotfiles). Check this option.
  3. Save Settings:
    • Click Save to apply the changes.

4. Locate .htaccess File

  • After enabling the option, you should now see the .htaccess file in your File Manager. You can right-click on it to edit, delete, or download it as needed.

Conclusion

Showing hidden files in cPanel File Manager is a quick process that allows you to access and manage important configuration files like .htaccess. If you encounter any issues or need further assistance, don’t hesitate to reach out to your hosting provider’s support team.

Was this answer helpful? 0 Users Found This Useful (0 Votes)