How to show hidden files like .htaccess

Files starting with a dot are hidden by default. How to show them in DirectAdmin’s File Manager, FileZilla, Mac and Windows.

Guide2 min readLast updated
On this page
  1. DirectAdmin File Manager
  2. FileZilla
  3. macOS Finder
  4. Windows
  5. Zip files
  6. Common questions

On Linux servers, file names starting with a dot — .htaccess, .user.ini, .maintenance, .env — are “hidden”.

DirectAdmin File Manager

Look for a show hidden files option in the File Manager’s settings or view menu and turn it on. If you still don’t see .htaccess, it may not exist yet: create a new file with that exact name.

FileZilla

Server → Force showing hidden files, then refresh the folder.

macOS Finder

Press Cmd + Shift + . to toggle hidden files. Useful for checking a downloaded site includes .htaccess.

Windows

File Explorer → View → Show → Hidden items. Windows doesn’t hide dot-files by default, but may resist creating one: name it .htaccess. with a trailing dot and Windows removes it.

Zip files

Some archive tools skip hidden files. After extracting a site on the server, check .htaccess is there.

Common questions

How do I see hidden files like .htaccess?

Turn on the show-hidden-files option in the File Manager, or enable it in your FTP client’s settings. Files beginning with a dot are hidden by default, which is why .htaccess often appears to be missing when it is there.

Spotted something out of date or unclear? Tell us and we’ll fix it.

Keep going