With an .htaccess file, you can specify how the server which manages the requests to your Internet sites should act in a variety of cases. This is a text file with directives that are performed when somebody tries to open your site and what happens next is determined by the content of the file. As an illustration, you can block a particular IP address from accessing the website, and the server will decline the visitor’s request, or you can forward your domain name to some other URL, so the server will direct the visitor to the new web address. You could also use custom error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widespread script-driven apps, such as Joomla, WordPress and Drupal, use an .htaccess file to operate efficiently.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans come with an .htaccess generator tool, that is easy enough to be used by individuals with zero previous experience. You will be able to access it via your Hepsia Control Panel and benefit from an easy-to-use interface to activate any option you want. As soon as you choose the folder in which our system will create the .htaccess file, you just need to check the boxes next to the options which you want to enable, then save the changes and you will be set. The one thing you'll have to type by hand will be a URL - if you wish to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you prefer to use customized error pages. Our platform shall also enable you to set the PHP version that a website will use by putting an .htaccess file in its root folder, regardless if your account in general uses a different version.