With an .htaccess file, you'll define how the server that deals with the requests to your websites should act in various scenarios. This is a text file with directives that are carried out when someone tries to open your Internet site and what happens next will depend on the content of the file. For instance, you can block a specific IP address from accessing the site, which means that the server will decline your visitor’s request, or you can forward your domain to another URL, so the server will direct the visitor to the new web address. You could also use personalized error pages or protect any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven apps, including Joomla™, Drupal™ and WordPress, use an .htaccess file to work efficiently.
.htaccess Generator in Shared Hosting
When you purchase any of our shared hosting
plans, you can benefit from our user-friendly .htaccess generator tool, that's part of the Hepsia Control Panel. You'll not need to know what syntax the various directives in this sort of a file must have, because our tool is a breeze to use and you'll only need to check boxes or input URLs, so you can use an .htaccess file even if you have never had a website hosting account before. Our .htaccess generator offers a large amount of options - you are able to block IP addresses, set the first page that loads when somebody opens your Internet site, set up password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, plus much more. You shall even be able to set a different PHP version for each one of your websites.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server
plans come with an .htaccess generator tool, that's simple enough to be used by individuals with no previous experience. You shall be able to access it using your Hepsia CP and employ an easy-to-use interface to enable any option you'd like. After you select the folder where our system will create the .htaccess file, you simply need to check the boxes next to the options that you would like to enable, then save the changes and you shall be all set. The only thing you will have to type by hand will be a URL - if you wish to use the .htaccess file to forward one of your domains/subdomains to an alternative address or if you would like to use custom made error pages. Our platform will also permit you to set the PHP version which a site will use by adding an .htaccess file in its root folder, regardless if your account in general uses a different version.