Get 50% Discount Offer 26 Days

Recommended Services
Supported Scripts
WordPress
Hubspot
Joomla
Drupal
Wix
Shopify
Magento
Typeo3
How to edit htaccess file in cPanel

You will learn how to edit htaccess file in cPanel in this article. To begin, click the Voxfor admin link at https://example.com:2083 and log in. You can manage your files easily by searching for “File Manager” in the search bar once logged into the cPanel dashboard. Click on “File Manager” to navigate to your website’s root directory, typically named “public_html.” In the File Manager, click the “Settings” button to enable the option to “Show Hidden Files,” which will allow you to view and edit the .htaccess file. You can modify the file’s configuration by right-clicking on it and selecting “Edit.”

Login cPanel

After clicking “Login,” you’ll be taken directly to the cPanel dashboard, where you can manage your website and hosting settings. The dashboard provides easy access to all the tools and features you need.

Login to edit .htaccess file in cPanel

Search File Manager

In the cPanel dashboard, enter “file” into the search bar to find “File Manager” in the dropdown menu. Click on “File Manager” to access and manage your website’s files.

Navigate File Manager to edit .htaccess file in cPanel

Navigate To Public_html

In the File Manager section, locate and click on the “public_html” directory. This is the root directory where your website’s files are typically stored.

Navigate public_html to edit .htaccess file in cPanel

File Manager Settings

Once inside the “public_html” directory, click on the “Settings” button. This will allow you to adjust configuration options for viewing and managing files within this directory.

file manager setting

Show Hidden Files

After clicking “Settings,” you’ll be redirected to the Preferences page. Check the “Show Hidden Files” checkbox and click “Save” to display hidden files in the File Manager.

Show Hidden Files in file manager

Edit .Htaccess File

After enabling “Show Hidden Files,” the .htaccess file will be visible in the public_html directory. Right-click on the .htaccess file and select “Edit” from the dropdown menu to modify its contents.

edit htaccess file

After clicking “Edit,” you will gain access to the .htaccess file. This allows you to view and make changes to its configuration settings.

view and make changes to htaccess settings

Conclusion:

Now that we’ve covered how to edit the .htaccess file in cPanel, you can also check out our installation guide in the video we created for additional help.

How to edit htaccess file in cPanel

Leave a Reply

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

Lifetime Solutions:

VPS SSD

Lifetime Dedicated Servers