How to create an .htaccess file?

There are serveral options do to that:

Via the Servage filemanager. Just go to the folder in which you want to create the file. Push the button 'create file' in the filemanager tool bar. Name the file .htaccess. You can now edit the file and add code to it.

You can also create the .htaccess file on your locale computer (e.g. with a text editor) and then upload the file to your Servage account with the help of FTP.

You can also create an .htaccess file via SSH. The easiest and most common way is to use the command assigned for this task – touch. For example, if you would like to create a new file called .htaccess you would need to type the following command: touch .htaccess



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.