Hello Rachel S,
The .htaccess file is a configuration file for use on web servers running the Apache Web Server software. It is a default name for a file that indicates who can or cannot access the contents of a specific file directory.
The .htaccess files, also known as "distributed configuration files," offer a method of making configuration changes on a single directory basis. One or more configuration directives are placed in a document directory, and the directives apply to all subdirectories within that directory.
In order to create a new .htaccess file using cPanel's file manager, you need to follow the steps below,
- Firstly, log in to your cPanel account.
- Now, select the Files category and click on the sub-option "File Manager"
- Next, you will enter the file manager interface.
- Then, click on the +File option from the top-left corner of the interface.
- Thus, a small window will open up; enter the file name as .htaccess and the directory where you want to keep the new file.
- Lastly, click on the Create New File button to create a new file.
Thus, you can create a new .htaccess file in cPanel in this way. I hope the above method helps you to understand the method of creating a new .htaccess file through cPanel.
-------------------------
Regards,
Rex Maughan
Leave a comment: