Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

.htaccess file

Discussion in 'General Discussion' started by martinfdg, Jun 8, 2012.

  1. martinfdg

    martinfdg Registered

    Jun 8, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Website Owner
    Hello, my name is Martin and I have just joint the cPanel forum. I do have a question about the .htaccess.php file. Where in cPanel is it located. I would appreciate if someone could help me. Thank you all.
    Regards, Martin
  2. Infopro

    Infopro cPanel Sr. Product Evangelist Staff Member

    May 20, 2003
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    There isn't one. There is though, an .htaccess file, it's located in public_html/ If you're logging in via the cPanel File Manager you might not see it as its a dot file and is hidden.

    Assuming you've been into the File Manager, and possibly already have dismissed the popup you see on File Manager login with options, you can bring that back by clicking the link in footer of cPanel titled "rest all interface settings" Once you click that, now click the File Manager icon. When you do, on that popup find a message that says:

    "Show hidden Files (dotfiles)"

    Now login to the File Manager, and navigate into the public_html directory and you should find it there. If not, you'll need to create one.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice