


Be sure your text editor saves the file as plain text and that you upload it in "text mode" (not "binary mode") if you use an FTP program.įinally, note that the ".htaccess" file doesn't exist until you first create it.

In addition, the file must be plain text, not an HTML document, Word document, RTF document, or any other format. Also, some FTP programs hide filenames that begin with a dot unless you change a setting to show them: in particular, if you use the Cyberduck FTP program, be sure that Show Hidden Files from the View menu is enabled.) (If you use Windows, it may help to show file extensions. If your text editor saves it as ".htaccess.txt", be sure to rename it when you put it on the Web server. The file is plain text and can be created in any text editor and transferred in an FTP program, but the filename should not be ".htaccess.txt": it should just be ".htaccess".

The name of the file, when placed on our servers, must be exactly this: One thing that first confuses people who use ".htaccess" files is the unusual name. This means you can password-protect directories on your website without learning how ".htaccess" files work. If ".htaccess" files are a bit much for you, but all you want to do is password-protect a directory, we have a simple checkbox interface that allows you to manage the password-protection feature of ".htaccess" files.
