With an .htaccess file, you will determine how the server which handles the requests to your Internet sites must act in a variety of cases. This is a text file with directives that are carried out when an individual tries to open your website and what happens next will depend on the content of the file. As an example, you may block a specific IP address from opening the website, so the server will decline your visitor’s request, or you can forward your domain name to an alternative URL, so the server will redirect the visitor to the new web address. You may also use custom-made error pages or shield any part of your website with a password, if you place an .htaccess file in the correct folder. Many well-known script-driven applications, such as WordPress, Drupal and Joomla, use an .htaccess file to work properly.

.htaccess Generator in Website Hosting

If you purchase any of our website hosting packages, you can benefit from our intuitive .htaccess generator tool, which is part of the Hepsia Control Panel. You shall not need to know what syntax the various directives in this sort of a file need to have, as our tool is very easy to use and you'll only need to check boxes or input URLs, so you can certainly use an .htaccess file even in case you have never had a website hosting account before. Our .htaccess generator gives a substantial amount of options - you may block IP addresses, set the first page that loads when someone opens your site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You will even be able to set a different PHP version for each one of your sites.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans offer an .htaccess generator tool, which is simple enough to be used by people with no previous experience. You shall be able to access it through your Hepsia Control Panel and employ an easy-to-use interface to enable any option you'd like. As soon as you pick the folder where our system will set up the .htaccess file, you just need to check the boxes next to the options you want to activate, then save the changes and you'll be set. The one thing you shall have to enter by hand shall be a URL - if you would like to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use personalized error pages. Our platform shall also enable you to set the PHP version that a site will use by placing an .htaccess file in its root folder, regardless if your account in general uses a different version.