- First, log in to your cPanel.
- Click File Manager.
- Choose the directory that you want to create the file in by clicking on the file icon.
- Click "Create new file".
- In the top right corner in the text box type
.htaccess
and in the drop-down box select text file and click create.
Most Popular Articles
How can I password protect a directory?
Log into your cPanel and click on the "Password Protect Directories" link under the Security...
How can I stop people from hotlinking to my site?
Log into your cPanel and click on the "Hotlink Protection" link under the Security section. On...
How do I disable directory listings?
If you don’t have an index file in every directory the contents of the directories are open for...