With an .htaccess file, you'll specify how the server that handles the requests to your web sites have to act in a variety of situations. This is a text file with directives that are executed when somebody tries to open your website and what happens next is determined by the content of the file. As an illustration, you can block a specific IP address from opening the website, which means that the server will decline the visitor’s request, or you can forward your domain to some other URL, so the server will direct the visitor to the new web address. Also you can use tailor-made error pages or protect any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, like Joomla, Drupal and WordPress, use an .htaccess file to operate efficiently.

.htaccess Generator in Hosting

When you obtain any of our hosting packages, you can take advantage of our intuitive .htaccess generator tool, which is part of the Hepsia Control Panel. You won't need to know what syntax the many directives in this type of a file need to have, because our tool is super easy to use and you shall only have to check boxes or type URLs, so you can easily use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator offers a number of options - you could block IP addresses, set the first page that loads when someone opens your Internet site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You'll even be able to set a different PHP version for each one of your websites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server solutions come with an .htaccess generator tool, which is easy enough to be used by individuals with no previous experience. You will be able to access it through your Hepsia CP and benefit from a user-friendly interface to enable any option you need. After you choose the folder in which our system will create the .htaccess file, you just have to check the boxes beside the options that you want to enable, then save the changes and you shall be set. The only thing you'll have to enter manually shall be a URL - if you'd like to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you prefer to use personalized error pages. Our platform shall also enable you to set the PHP version which a website will use by adding an .htaccess file inside its root folder, no matter if your account in its entirety uses a different version.