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.
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 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.
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.
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.
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.
After clicking “Edit,” you will gain access to the .htaccess file. This allows you to view and make changes to its configuration 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.