With an .htaccess file, you will specify how the web server which manages the requests to your web sites have to act in a variety of situations. This is a text file with directives that are performed when someone tries to open your site and what happens next is determined by the content of the file. As an example, you may block a specific IP address from accessing your website, and the server will decline your visitor’s request, or you can redirect your domain to an alternative URL, so the server may redirect the visitor to the new web address. Also you can use customized error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to function efficiently.

.htaccess Generator in Website Hosting

If you obtain any of our website hosting packages, you can take full advantage of our user-friendly .htaccess generator tool, that's part of the Hepsia CP. You'll not need to know what syntax the different directives in such a file should have, because our tool is very easy to use and you shall only have to check boxes or type 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 large amount of options - you can block IP addresses, set the first page that loads when a person opens your site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and more. You shall 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 plans include an .htaccess generator tool, that is easy enough to be used by individuals with no previous experience. You'll be able to access it via your Hepsia CP and use a user-friendly interface to enable any option you need. When you choose the folder where our system will create the .htaccess file, you just need to check the boxes beside the options which you want to activate, 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 an alternative address or if you prefer to use custom made error pages. Our platform will also permit you to set the PHP version that a site will use by placing an .htaccess file inside its root folder, no matter if your account as a whole uses a different version.