With an .htaccess file, you can determine how the web server which manages the requests to your Internet sites have to act in different situations. This is a text file with directives that are performed when somebody tries to open your site and what happens next depends on the content of the file. As an example, you can block a certain IP address from opening your website, so the server will decline your visitor’s request, or you can forward your domain to an alternative URL, so the server will redirect the visitor to the new web address. Also you can use customized error pages or secure any part of your website with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to operate correctly.

.htaccess Generator in Shared Hosting

If you want to use any of the functions which an .htaccess file offers, but you've never dealt with such matters before, you should use the .htaccess generator tool that comes with all of our shared hosting packages. The tool is part of our in-house built Hepsia CP and it'll give you a simple and intuitive means to create an .htaccess file inside any folder that you've created in the account. A large number of options will be available with checkboxes, so you should only choose the one you need and eventually input a URL - if you are using the file to redirect a domain or to set custom made error pages for any of your sites. Because our cloud platform supports a number of PHP versions, you'll be able to set any of these versions for each of your websites even if it's different from the version set for your web hosting account as a whole.

.htaccess Generator in Semi-dedicated Servers

The semi-dedicated servers that we offer include a powerful, but user-friendly .htaccess generator tool, which will provide you with the chance to use such a file for any purpose even if you are not experienced. The tool is incorporated into the Hepsia Control Panel and has the same intuitive interface. If you would like to use some of the options which can be activated via an .htaccess file, you just need to check the box next to it in the list that you will find when you open the tool. Also you can decide in which directory of your account the file will be created and you shall be good to go. An .htaccess file may also be used to set a PHP version for a certain website that differs from the version which the account itself employs. Should you have any troubles, we have detailed help articles and educational videos that shall reveal to you first-hand how to activate any option that's available within the tool.