Bluehost file manager show hidden files

New Page


August 23, 2022


2 minute read

How to Locate and Create an .htaccess File: A Step-by-Step Guide

Copy link


How to Locate and Create an .htaccess File: A Step-by-Step Guide How to Locate and Create an .htaccess File - A Step-by-Step Guide

.htaccess (hypertext access) is a hidden file used to configure additional functionality for websites hosted on Apache Web Server. With it, you can rewrite the URL, password protect directories, enable direct link protection, disallow access to specific IP addresses, change your website’s time zone, or change the index page default, and more. Here you will learn how to locate and create an .htaccess file.

Download the eBook: Speed ​​Up Your Website. 8 practical tips that work

How to locate an open .htaccess file?

We’ll show you how to locate and open . htaccess in hPanel and cPanel of Hostinger.


Finding and editing the file in Hostinger’s hPanel only takes a few clicks. Here’s how:

  1. Once you are logged in to your WordPress dashboard, use the search function to find the file manager located in the Files category .
  2. By default, . htaccess is not invisible in the hPanel public_html directory , so you can immediately access the file and its contents by right-clicking it and selecting Open  or Edit .Locate the .htaccess file in hPanel Locating the .htaccess file in hPanel


Si vous utilisez cPanel, le processus est plus ou moins similaire.

  1. Acceda  al Administrador de archivos  -> public_html .
  2. If you can’t find the file, go to the  Settings on the upper right menu and tick the Show Hidden Files option to enable viewing.

Important! This only applies to cPanel-based hosting platforms.

How to Create .htaccess File?

If .htaccess file is not present, here’s how you create one. This method is applicable to both hPanel and cPanel:

  1. Click the New File button in the upper menu.
  2. Enter .htaccess as the file name, insert the code below and press Create to save your changes. # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPres


You’ve learned how to locate and create .htaccess file using the File Manager. .htaccess enables you to create website redirects, set default pages, password-protect directories and much more.

If you have any questions regarding this guide, let us know in the comments below!

Was this tutorial helpful?



Author Author

El autor

Tomás A.

Tomas es un agente sénior de atención al cliente en Hostinger. Además de brindar asesoramiento técnico de primer nivel todos los días, le gusta crear sitios web y realizar varios proyectos paralelos de codificación.

Más de Tomás A.

Viewing Hidden Files (htaccess) in cPanel’s File Manager

Updated on September 7, 2021 by John-Paul Briones

39 Seconds to Read

Botones para compartir de AddThis

Compartir en Facebook Compartir en Twitter Compartir en LinkedIn Compartir por correo electrónico Compartir a más

By default, when you use the File Manager in cPanel, it doesn’t show hidden files. Hidden files are any file that begins with a dot, such as .htaccess. .htaccess is a common file to edit, so to edit the file using your File Manager, you’ll need to have the option selected to show hidden files. Keep reading to learn how.

Showing hidden files in File Manager

  1. Log in to your cPanel


  2. Under Files click File Manager cpanel_lanternUpdatesMay17_cmPape_01



  3. Slick Settings in the upper right corner cpanel_plfix_PL_fix_Selection_03



  4. Select your Document Root and check the box for Show hidden files and click Save cpanel_plfix_PL_fix_Selection_02



Need a little more advice? When you are an InMotion cPanel Hosting customer, you have access to world-class support 24/7. Simply select one of the contact options at the bottom of your screen.


Juan Pablo Briones Content Writer II

John-Paul is an electronics engineer who has spent most of his career in IT. He has been a technical writer for InMotion since 2013.

More articles from Jean-Paul

Access the file manager

Le gestionnaire de fichiers est un moyen simple et rapide de parcourir vos fichiers. Il dispose également d’un éventail de fonctionnalités qui peuvent vous aider à gérer vos fichiers, telles que le téléchargement, la création, la suppression, l’édition, la copie, le déplacement, la compression ou l’extraction de vos fichiers.

Cet article fait partie de notre série de didacticiels sur le gestionnaire de fichiers. Veuillez consulter les liens ci-dessous si vous recherchez une explication différente du gestionnaire de fichiers.

  • Accéder au gestionnaire de fichiers
  • Naviguer dans le gestionnaire de fichiers
  • Uploading Files
  • Creating, Removing, and Editing Files
  • Copying and Moving Files
  • Compressing Files into an Archive (GZip)
  • Extracting Files from an Archive

Accessing the File Manager

Note: Legacy accounts will feature a horizontal navigation bar at the top of the screen, while Bluerock account users will see a vertical navigation menu on the left-hand side of the screen. If you are still unsure what interface your account uses, please see Bluerock vs. Legacy to determine which step to follow.


  1. Inicie sesión en su panel de control de Bluehost .
  2. Haga clic en la  pestaña Avanzado en el menú de navegación lateral a la izquierda. rock-bh-advanced tab
  3. Dans la section Fichiers, cliquez sur Gestionnaire de fichiers. 



  1. Connectez-vous à votre panneau de contrôle Bluehost.
  2. Under the Files category , find the  File Manager icon . old file manager
  3. A dialog box will appear. In the pop-up window, select Web Root  and check the box next to Show hidden files. (this will place it in your web content folder and show you all the files and folders there).legacy-file-show-hidden-files
  4. The file manager will now load in a new window and display your files. Double-click a folder to open it, then click Up One Level to return to a folder. 

No pop-up box?  You may have selected the “Ignore this question and always open this directory in the future when opening the file manager” option. To make the pop-up window reappear, simply click on  Reset All  Interface Settings at the very bottom of your Control Panel.

For further assistance, you can contact our support via chat or by phone at  888-401-4678 . You can also visit our knowledge base articles to answer common questions and guide you through installation, configuration, and troubleshooting steps.

Video Bluehost file manager show hidden files

Related Posts

Free chat room code for my website

Contents1 How to set up a free chat room on the website.2 3 comentarios2.1 Trackbacks/Pingbacks2.2 Submit a Comment Cancel reply3 How to Create a Chat Room Website…

Background image full screen css

Contents1 Cómo – Full Page Image1.1 Example1.2 Example2 CSS background image tamaño tutorial: how to codify a complete page background image3 Perfect Full Page Background Image3.1 Méthode CSS géniale,…

WordPress leverage browser caching

Contents1 Aproveche el almacenamiento in hidden del navegador1.1 Will it works for my website?1.2 Where are plugin options1.3 Some JavaScript files still display under Leverage Browser Caching1.4…

WordPress post to facebook page

Contents1 How to Automatically Post to Facebook from WordPress1.1 Download Now: How to Launch a WordPress Website [Free Guide + Checklist]1.2 1. Create an IFTTT account.1.3 2….

Download images from wordpress media library

Contents1 How to export your WordPress media library1.1 Download maintenant : How to launch a WordPress website [Free Guide + Checklist]1.2 How to export your WordPress media…

WordPress single post template

Contents1 How to Create Custom Unique Post Templates in WordPress2 Post Template Files2.1 author.php2.2 Fecha.php3 Handbook navigation4 How to Create Custom Single Post Templates in WordPress5 Video…