How to find the htaccess file on your website?

The htaccess file is located on your web server which is generally automatically generated by your CMS. If you are reading this article, it means you are looking you don’t know how to find the htaccess file on your website admin panel. The htaccess file lets you manage and handle client requests on your website and treats them accordingly.

How to find and update the .htaccess file

Well, not anymore! We’ll follow some simple steps so that you can find the htaccess file on your admin panel, no matter which one is it.

I am using cPanel for my website data management. It does not matter if you are using any other CMS tool, the process is the same.

Now let’s dive in

First, you need to login to your admin panel to find the htaccess file for your website. If you have installed WordPress and you want to find the htaccess file for your WordPress CMS, it would be a bit different. 

It means that WordPress websites work as a subdomain on your website if not installed on your root directory. 

I’ll show you how can you find the .htaccess files for both

  1. For WordPress (if not root directory)
  2. For Others

Before we continue, you should know that the .htaccess file is hidden by default and this is probably the reason why you were not able to access it.

As the name suggests, .htaccess has a dot “.” in the prefix. It means the file is hidden. Any file that you come across with a dot prefix is a hidden file.

You can go to the Admin Panel > File Manager and then locate your root directory. It is generally public_html unless you have set it up otherwise.

Open the root folder and click on the settings icon on the top right corner. (It can be different for other Control panels).

Once you have clicked it, it will show a pop-up window. You need to click on the Show Hidden Files(dotfiles) box to check it.

Show hidden files find .htaccess

Refresh the page. 

Now Let’s get back to the part to find .htaccess file.

For WordPress (if not root Directory)

If you have installed WordPress on a different directory, you should be able to find the .htaccess file in no time. Look for the directory where you have installed WordPress. When you open it, you will find a .htaccess file in it. It’s that easy.

Also read: How to install WordPress and start writing blogs in 2020

For Others

The .htaccess file you are looking for is in your home directory. It was just hidden. If you followed this tutorial from the beginning, you will be able to locate the .htaccess file in your home directory.

If you are making some changes into your .htacess file, follow this tutorial to learn how to.

In the end

I hope this tutorial was helpful to you. Needless to say, it was a pretty easy tutorial. We have created so much more content like this just for your needs. Visit the website homepage to check out some more awesome content. 

Good Luck!

Help us Grow | Share on your social Media


  1. Hey! Dо you knoᴡ if they make any plugins to safegᥙard against hackers?
    I’m kinda paranoid about losing everything I’ve worked һard on. Any tips?


  2. I don’t even know how I ended up here, but I thought this
    post was great. I do not know who you are but certainly you are going to
    a famous blogger if you aren’t already 😉 Cheers!


  3. How Can Audible Work?
    To begin with, you get a free audiobook and take out a
    free trial of Audible. This really is among those classics
    or an Audible originals.
    At the conclusion of your trial, you can purchase a subscription of Audible.
    You want to register to your membership.
    Monthly, you are awarded by Audible with one credit.
    You can take advantage of this credit to buy Audible audio books in various categories like technology, fashion, love, social media, advertisements, etc..

    You can buy more Audible credits or pay per audio book, if you would like to buy
    Lately, a member may download a couple of six Audible Originals in the first Friday of each month.
    They do not cost any credits. You can keep these Audible Originals eternally.

    You have Audible audio books on your library if you cancel
    your subscription.
    It is possible to listen to Audible books anyplace
    using apps on Windows, your telephone or Mac computer
    or Alexa device.|

    With over 300,000 titles to its title, Audible is the world’s largest seller and manufacturer of audiobooks.

    Audible Review


Leave a Reply

Your email address will not be published. Required fields are marked *