This article explains how to search and locate specific files or folders in cPanel using the File Manager search bar.
Access the search bar
- Log in to cPanel → Files → File Manager.
- In the top right corner you will see the search field.

Perform a search
- Type the name (or part of the name) of the file or folder. Examples:
index.html,.htaccess,wp-config.php. - 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. |
- Click Go (Go).
- 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:
- In the File Manager, open Settings (gear icon).
- Enable Show Hidden Files (dotfiles).
- 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.
