How to make visible .htaccess file via cPanel

25th August
How to make visible .htaccess file via cPanel

By default .htaccess file and many others are hidden. If you want to configure that file, you should make it visible. Follow these steps to make visible .htaccess file. About .htaccess file, you can read here.>

Step 1

Log into your cPanel account.

Step 2

In the “Files” section find “File Manager” and click on it.

Step 3

Click “Document Root for:” then choose the domain name which you wish to access.

Step 4

Be sure that “Show Hidden Files (dotfiles)” is checked.

Step 5

Click on the “Go” button.

Step 6

We are searching .htaccess file among all the files.

Step 7

You can right click on the file then choose “Code Edit” on the menu or click on the .htaccess file icon then click on the “Code editor” at the top of the page.

Step 8

After that, will appear a dialogue box which will ask you about encoding. Here you can just click on the “Edit” button to continue.

Step 9

In the new window will be opened an editor where you should edit the file as needed.

Step 10

When you have done all the changes you need to save the document.

INFO: after the file is saved we recommend you to test your site. Make sure it is working correctly, but if not, you can correct errors or restore a working version of the site.

Step 11

If it works correctly just close the window.
That is all!

SUBSCRIBE by email and never miss a post!