With an .htaccess file, you'll define how the web server that deals with the requests to your websites must act in a variety of occasions. This is a text file with directives that are performed when somebody tries to open your Internet site and what happens next depends on the content of the file. For example, you could block a particular IP address from opening the Internet site, so the server will decline the visitor’s request, or you can forward your domain name to another URL, so the server may direct the visitor to the new web address. You may also use personalized error pages or shield any part of your website with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, including WordPress, Drupal and Joomla, use an .htaccess file to function efficiently.

.htaccess Generator in Website Hosting

If you purchase any of our website hosting plans, you can reap the benefits of our user-friendly .htaccess generator tool, which is part of the Hepsia Control Panel. You will not need to know what syntax the different directives in this kind of a file need to have, as our tool is very simple to use and you'll only need to check boxes or type in URLs, so you can certainly use an .htaccess file even if you have never had a hosting account before. Our .htaccess generator provides a number of options - you'll be able to block IP addresses, set the first page that loads when a person opens your site, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You will even be able to set a different PHP version for each of your websites.

.htaccess Generator in Semi-dedicated Hosting

Our semi-dedicated server solutions come with an .htaccess generator tool, that is simple enough to be used by people with no previous experience. You shall be able to access it via your Hepsia CP and take advantage of an intuitive interface to enable any option you would like. When you select the folder where our system will set up the .htaccess file, you just have to check the boxes next to the options which you want to activate, then save the changes and you will be set. The one thing you will have to enter by hand shall be a URL - if you need to use the .htaccess file to redirect one of your domains/subdomains to a different address or if you prefer to use customized error pages. Our platform shall also allow you to set the PHP version which an Internet site will use by adding an .htaccess file in its root folder, even when your account in its entirety uses a different version.