With an .htaccess file, you'll determine how the web server which deals with the requests to your websites should act in a variety of scenarios. 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. As an example, you can block a particular IP address from accessing your website, and the server will decline the visitor’s request, or you can redirect your domain to a different URL, so the server may direct the visitor to the new web address. Also you can use custom-made error pages or shield any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven applications, like Joomla, WordPress and Drupal, use an .htaccess file to function efficiently.

.htaccess Generator in Shared Website Hosting

When you get any of our shared website hosting packages, you can take full advantage of our easy-to-use .htaccess generator tool, that is part of the Hepsia Control Panel. You won't need to know what syntax the different directives in this kind of a file need to have, because our tool is super easy to use and you shall only have to check boxes or input URLs, so you can use an .htaccess file even if you have never had a hosting account before. Our .htaccess generator gives a number of options - you may block IP addresses, set the first page that loads when a person opens your website, create password protection, forward a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You shall 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, that is simple enough to be used by people with no previous experience. You will be able to access it using your Hepsia CP and take advantage of a user-friendly interface to activate any option you want. As soon as you select the folder where our system will set up the .htaccess file, you just need to check the boxes beside the options which you want to activate, then save the changes and you'll be all set. The only thing you will have to enter by hand will 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 want to use personalized error pages. Our platform will also enable you to set the PHP version that a website will use by putting an .htaccess file inside its root folder, even if your account as a whole uses a different version.