How to view hidden files such as .htaccess in DirectAdmin Print

  • 0

Overview

Some important system files are hidden by default in the File Manager. This includes files that start with a dot, such as .htaccess, .user.ini, and .well-known. You may need these files for redirects, caching, or SEO settings.

Step 1 – Open File Manager

Log in to DirectAdmin → System Info & Files → File Manager

Step 2 – Enable hidden files

  1. Click the Settings icon (top right)
  2. Enable Show Hidden Files
  3. Save changes

Step 3 – Refresh the page

You will now see all hidden files, including:

.htaccess
.user.ini
.git
.well-known

If the .htaccess file is missing

You can create a new one:

  1. Click Create File
  2. Name it: .htaccess
  3. Click Create

Important

Editing .htaccess incorrectly can break your website. Always create a backup first.


Was this answer helpful?

« Back