With an .htaccess file, you can specify how the web server which deals with the requests to your websites must act in various occasions. This is a text file with directives that are carried out when somebody tries to open your Internet site and what happens next will depend on the content of the file. As an example, you may block a certain IP address from opening the Internet site, and the server will decline your visitor’s request, or you can redirect your domain to an alternative URL, so the server will direct the visitor to the new web address. You may also use personalized error pages or preserve any part of your Internet site with a password, if you place an .htaccess file inside the correct folder. Many widespread script-driven applications, such as Joomla, Drupal and WordPress, use an .htaccess file to function properly.
.htaccess Generator in Shared Web Hosting
You could use an .htaccess file for any purpose on our modern cloud platform regardless of which shared web hosting service you pick when you sign up. Additionally, if you'd like to use one of the functions which such a file provides, but you don't have a lot of experience, you may use our .htaccess generator tool, which shall provide you with an easy-to-use interface where you can use checkboxes and type only file names or URLs. Thus, you can work with an .htaccess file even though you may not know the syntax of the directives that you need to use in general. With a few mouse clicks, you'll be able to redirect a domain, to choose a different home page for an Internet site, or to even set a different version of PHP for a given website, which can be different from the version that your web hosting account uses.
.htaccess Generator in Semi-dedicated Servers
The semi-dedicated servers that we provide feature an efficient, but time and effort saving .htaccess generator tool, which will provide you with the chance to use this type of a file for any purpose even if you are not too experienced. The tool is incorporated into the Hepsia CP and has the same intuitive interface. If you would like to use any of the options that can be enabled through an .htaccess file, you just have to check the box next to it within the list which you will find when you open the tool. Also you can select in which directory of your account the file will be created and you'll be ready. An .htaccess file can be used to set a PHP version for a certain site which differs from the version that the account itself uses. In case you have any issues, we have detailed help articles and video tutorials which will show you first-hand how to activate any option available inside the tool.