Articles on: Getting Started
This article is also available in:

How to find my website’s .htaccess file?

The configuration file .htaccess has many uses, and you may need to change it to make some changes to your site settings.

The steps to find the .htaccess file

To find the file, you must first sign in to your cPanel account (via your customer account or

In the Files section of your control panel, select the File Manager.

Then open the root directory (public_html) of your website.

Your site’s .htaccess file should normally be in this directory.

But you may not find it. There are two different reasons for that:

Your site does not have a .htaccess file
The file is hidden and the display settings make it invisible

In this case, you may need to change settings to display hidden files or create a new file. htaccess.

Updated on: 14/04/2023

Was this article helpful?

Share your feedback


Thank you!