Answer ID: 9068

How to create a .htaccess file

To create a .htaccess file in Plesk, do the following:

  • Go to the "Websites & Domains" section
  • Under the specific domain name, click "Website at ________" to go to the root folder for the domain
  • At the top, click "New - Create File"
  • Name the file .htaccess
  • Do not check the box that says use the html template
  • Click "OK"

To edit the .htaccess file, click on it in the listing of files. You can edit it in a code editor or a text editor.