How to search and locate specific files or folders in cPanel

This article explains how to search and locate specific files or folders in cPanel using the File Manager search bar.

Access the search bar

  1. Log in to cPanel → Files → File Manager.
  2. In the top right corner you will see the search field.

Buscador del Administrador de archivos

Perform a search

  1. Type the name (or part of the name) of the file or folder. Examples: index.html, .htaccess, wp-config.php.
  2. From the dropdown, choose the search scope:
Scope When to use it
Current Directory You know the file is in the folder you are currently in.
public_html You are looking for website files (HTML, PHP, images).
All your files (Home directory) You do not know which folder the file is in.
  1. Click Go (Go).
  2. A window will open with the found results.

Search for hidden files (.htaccess, .env)

Files that start with a dot are not shown by default. Before searching:

  1. In the File Manager, open Settings (gear icon).
  2. Enable Show Hidden Files (dotfiles).
  3. Save and repeat the search.

Tip: If you are looking for .htaccess, limit the search to public_html for faster and more relevant results.

After finding the file

From the results you can:

  • Open the folder containing it.
  • Edit it (right click → Edit).
  • Move it, rename it, or change permissions.

Common issues

  • No results appear: check the search scope and make sure the name is spelled correctly (including the extension).
  • I cannot find .htaccess: enable hidden files in Settings.
  • Too many results: narrow down the search to the current directory or public_html.
  • Looking for content inside the file: the File Manager search bar searches by name, not by internal text; to do that, edit or download the file.

If you cannot locate a critical site file, open a ticket from the client portal or contact us via the website's online chat.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to connect and upload files using FTP-FileZilla

This article explains how to upload files via FTP to your hosting plan using the free FileZilla...

I cannot publish files within my service

This article helps you troubleshoot when you cannot upload or publish files on hosting with a...

Anonymous FTP Precautions

This article describes the security and usage precautions of anonymous FTP in a cPanel hosting...

FTP folder utilities

This article explains the meaning of each folder in your hosting account when connecting via FTP...

Creating and managing FTP accounts

This article explains how to create and manage additional FTP accounts in cPanel to grant...