With an .htaccess file, you'll specify how the web server that handles the requests to your Internet sites must act in a variety of occasions. This is a text file with directives that are executed when somebody tries to open your Internet site and what happens next is determined by the content of the file. For example, you can block a particular IP address from accessing your website, therefore the server will decline the visitor’s request, or you can redirect your domain to some other URL, so the server will direct the visitor to the new web address. You can also use customized error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to work correctly.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server packages offer an .htaccess generator tool, which is simple enough to be used by people with no previous experience. You'll be able to access it through your Hepsia Control Panel and take advantage of an easy-to-use interface to enable any option you need. When you choose the folder in which our system will create the .htaccess file, you just have to check the boxes next to the options that you want to activate, then save the changes and you shall be set. The only thing you will have to type manually shall be a URL - if you need to use the .htaccess file to forward one of your domains/subdomains to a different address or if you would like to use custom error pages. Our platform shall also enable you to set the PHP version which a site will use by placing an .htaccess file in its root folder, no matter if your account in its entirety uses a different version.