Using Files with a Dot Prefix on Windows PCs

Most Windows programs do not allow you to save a file if the name starts with a period. Here we will show you how to create an .htaccess or .htpasswd file using Windows.

Using an .htaccess file is common, for tasks such as making an area of your website accessible only to certain visitors.

Step 1

Open a text editor (for example, Notepad).

Step 2

Insert the desired code.

Step 3

Save the file as .htaccess or .htpassword and be sure to select the All files (*.*) option.

Step 4

Finally, upload the file to your web space using FTP.


Did this article help you?

Your feedback helps us to further improve our services. To leave feedback, log in to your IONOS account by clicking on the login button at the top right. You can then submit a rating below the article.