With an .htaccess file, you'll define how the web server that deals with the requests to your Internet sites must act a number of cases. This is a text file with directives that are performed when an individual tries to open your Internet site and what happens next depends on the content of the file. For instance, you may block a specific IP address from opening the Internet site, so the server will decline your visitor’s request, or you can forward your domain name to a different URL, so the server may direct the visitor to the new web address. You could also use personalized error pages or shield any part of your Internet site with a password, if you place an .htaccess file in the correct folder. Many widely used script-driven applications, like Joomla, Drupal and WordPress, use an .htaccess file to operate efficiently.
.htaccess Generator in Shared Web Hosting
If you get any of our shared web hosting solutions, you can benefit from our user-friendly .htaccess generator tool, that is part of the Hepsia CP. You will not need to know what syntax the different directives in such a file should have, since our tool is easy to use and you will only have to check boxes or type in URLs, so you can use an .htaccess file even when you have never had a web hosting account before. Our .htaccess generator gives a lot of options - you'll be able to block IP addresses, set the first page that loads when somebody opens your site, create password protection, redirect a domain to another web address, enable PHP in HTML files, enable Server Side Includes, and much more. You'll even be able to set a different PHP version for each of your Internet sites.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server plans provide an .htaccess generator tool, which is simple enough to be used by people with no previous experience. You shall be able to access it via your Hepsia CP and employ a user-friendly interface to activate any option you'd like. After you select the folder where our system will create the .htaccess file, you only need to check the boxes beside the options you want to enable, then save the changes and you shall be good to go. The only thing you will have to enter manually will be a URL - if you'd like to use the .htaccess file to forward one of your domains/subdomains to a different address or if you want to use custom made error pages. Our platform will also enable you to set the PHP version which a site will use by adding an .htaccess file inside its root folder, even if your account in its entirety uses a different version.