With an .htaccess file, you shall specify how the web server which deals with the requests to your Internet sites have to act in different occasions. This is a text file with directives that are performed when someone 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 specific IP address from opening the Internet site, therefore the server will decline the visitor’s request, or you can redirect your domain to another URL, so the server will redirect the visitor to the new web address. You may also use personalized error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many popular script-driven apps, such as Joomla, WordPress and Drupal, use an .htaccess file to operate properly.
.htaccess Generator in Web Hosting
You could use an .htaccess file for any purpose on our modern cloud platform no matter which web hosting you choose when you sign up. Additionally, if you need to use one of the features which this kind of a file offers, but you do not have very much experience, you can use our .htaccess generator tool, which will provide you with an easy-to-use interface where you can use checkboxes and type only file names or URLs. This way, you'll be able to work with an .htaccess file even if you do not know the syntax of the directives you need to use in general. With a few clicks, you shall be able to forward a domain, to pick an alternative home page for a website, or to even set a different version of PHP for a particular site, which can be different from the version which your web hosting account uses.
.htaccess Generator in Semi-dedicated Servers
Our semi-dedicated server solutions feature an .htaccess generator tool, which is easy enough to be used by individuals with zero previous experience. You shall be able to access it via your Hepsia CP and use a user-friendly interface to activate any option you need. After you select the folder in which our system will create the .htaccess file, you just have to check the boxes next to the options that you want to enable, then save the changes and you shall be set. The only thing you shall have to type in by hand shall 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 prefer to use personalized error pages. Our platform shall also allow you to set the PHP version which a site will use by adding an .htaccess file inside its root folder, even when your account as a whole uses a different version.