With an .htaccess file, you'll determine how the web server which addresses the requests to your web sites have to act in a variety of scenarios. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next will depend on the content of the file. For example, you may block a specific IP address from accessing the site, therefore the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server may direct the visitor to the new web address. You can also use customized error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven applications, including Joomla, WordPress and Drupal, use an .htaccess file to work properly.

.htaccess Generator in Semi-dedicated Servers

The Linux semi-dedicated servers which we offer include a powerful, but time and effort saving .htaccess generator tool, which will provide you with the chance to use this kind of a file for any purpose even when you are not too experienced. The tool is included in the Hepsia CP and has the same intuitive interface. If you would like to use some of the options which may be enabled through an .htaccess file, you simply need to check the box next to it inside the list which you shall find when you open the tool. Also you can select in which directory of your account the file shall be created and you shall be good to go. An .htaccess file could also be used to set a PHP version for a given website that differs from the version which the account itself takes advantage of. In case you have any issues, we have in-depth help articles and instructional videos that will show you first-hand how to activate any option that's available within the tool.