24 hr Australian Support


How to modify a .htaccess file from cPanel


Step 1 - Log into cPanel and click on File Manager.





Step 2 - Make sure that “Show Hidden Files” is enabled. To do this, click on Settings in the top right.





Step 3 - Check that Show Hidden Files is ticked, and click Save.





Step 4 - (Optional) If there is no file called '.htaccess':
(1) Click + File.
(2) Type '.htaccess'.
(3) Select Create New File.

b8cf1098839af1daad13789ee48a4820e2e2588d?t=b2b873dd15e15225e7c713b4c2935432



Step 5 -
(1) Navigate to the public_html directory.
(2) Right click on the .htaccess file.
(3) Click edit.

30742877ebf6444b2f8bf9c55bbbd9db968886fe?t=9f6a1dcfcba7ba5054febee9a0884e4f



Step 6 - Click Edit.




Step 7 - When you have finished editing the file, click Save Changes.