Sign Up / Log In
Need help?
1300 210 210
We're Australian!
#1 for domains & hosting
94% customer satisfaction
Trusted by over 1 million businesses
Expert, 24/7 customer support
90% of issues resolved within a day
Best value
We price match*
Online Support Web Hosting

What is the .htaccess file?

The .htaccess is a hidden plain text file that is used to configure the details of your website without needing to alter the server configuration files. It can also be used to block specific traffic from being able to view your website.

The .htaccess file is important because the configuration in that file will affect everything in its directory and the directories under it.

How to view .htaccess with the File Manager

By default, most advanced files are hidden in the Hosting Manager CPanel. Hidden files always begin with dot, such as .htaccess. These hidden files can be edited using your File Manager, but you’ll need to ensure you have selected the option to view hidden files.

Here’s how to view the .htaccess file:

  1. Click Sign Up / Log In at the top of this page.
  2. Select Hosting Manager from the drop-down menu.
  3. Enter your username and password and click Log In.
  4. On the Home page, click the Files icon or the [ v ] arrow symbol on the right side.
  5. Click on the File Manager icon, which is next to the Directory Privacy icon.
  6. In the pop-up box, make sure to choose Web Root and tick the box that says Show Hidden files (dot files).
  7. Click Go.

You will then be redirected to your File Manager control panel. All hidden files here will be shown.

Congratulations! You can now view .htaccess in the File Manager.

How to create .htaccess

If you want to create .htaccess file, you can do it on your local computer or in the File Manager. Just follow the steps below.

Via your local computer:

  1. Open Notepad (for Windows) or TextEdit (Mac OS X).
  2. Save the file using only the .htaccess extension.
  3. Upload it to your File Manager, typically in the public_html folder or any folder where your site files are located.

Via your web control panel:

  1. Click Sign Up / Log In at the top of this page.
  2. Select Hosting Manager from the drop-down menu.
  3. Enter your username and password and click Log In.
  4. On the Home page, click the Files icon or the [ v ] arrow symbol on the right side.
  5. Click on the File Manager icon, which is next to the Directory Privacy icon.
  6. In the pop-up box, make sure to choose Web Root and tick the box that says Show Hidden files (dot files).
  7. Click Go.
  8. On the File Manager, click the + File found at the top left side of the page.
  9. Make sure to name the file using only the extension .htaccess.
  10. Click Create New File.

Congratulations! You just created an .htaccess file.

Was this helpful? Yes No 44% of people found this helpful.
we're
online
Need Help? Chat Now