> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to create a .htaccess file?

# Steps to create and upload a .htaccess file

You can create a [file . htaccess](https://help.ex2.com/en/article/what-is-the-htaccess-file-and-what-is-it-used-for-1mgswq0/?bust=1676488779165) with any text editor (Notepad, MS Word, etc.). 

You must aboslutely name the file exactly .htaccess otherwise it won't work. It is necessary to include a dot in front of the name to hide the file.

Use your favorite text editor, create a file named .htaccess on your desktop or any other local folder. 

Add the desired text commands to the file, then upload it using an FTP client. 

Once you have established the FTP connection, you will simply need to drag and drop the newly created file from your computer to the desired folder on your hosting space.