Find AnswersFast in Our Knowledgebase

Explore step-by-step guides, tutorials, and expert tips to help you get the most out of your hosting experience. Whether you're setting up a domain, managing WordPress, or troubleshooting, our Knowledgebase has you covered 24/7.

cta

How to Edit (Dot)htaccess File in the cPanel File Manager


1. Log in to your cPanel account.


2. In the Files section, click on File Manager.
 

3. Navigate to the directory where your dot htaccess file is located. To edit the .htaccess file of your root directory, navigate to the public_html directory.

4. If the dot htaccess file does not show, click on Settings in the File Manager. You can find the Settings button on the right side of the top menu. Mark the Show Hidden Files (Dotfiles) option in the new window box and click on Save. Now, the dot htaccess file should be present. If it does not exist, create a new one.



5. Right-click on the dot htaccess file and then Edit in the Context Menu.


6. In a new window box, click on Edit.


7. Make changes to your dot htaccess file and click on Save Changes.


Was this answer helpful?

« Back

Explore Latest News

Explore product announcements, hosting tips, security news, and digital trends to help you grow your online presence. Whether you're a developer, business owner, or startup, our blog keeps you ahead of the curve.

news-img
Shared Hosting

MARCH 24, 2024

Attentive was born in 2015 help sales teams

Admin

Co, Founder

news-img
Shared Hosting

MARCH 24, 2024

Attentive was born in 2015 help sales teams

Admin

Co, Founder

news-img
Shared Hosting

MARCH 24, 2024

Attentive was born in 2015 help sales teams

Admin

Co, Founder

Our Partners

Our partners play a vital role in powering our services and supporting our mission to deliver secure, high-performance hosting worldwide.

cloudlinux
bitninja
cpanel
litespeed
softaculous