With an .htaccess file, you'll define how the web server which addresses the requests to your websites have to act a number of scenarios. This is a text file with directives that are executed when an individual tries to open your site and what happens next is determined by the content of the file. As an example, you could block a specific IP address from accessing the Internet site, so the server will decline the visitor’s request, or you can forward your domain to a different URL, so the server will redirect the visitor to the new web address. You could also use custom error pages or preserve any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, such as WordPress, Drupal and Joomla, use an .htaccess file to work efficiently.

.htaccess Generator in Web Hosting

You can use an .htaccess file for any purpose on our modern cloud platform irrespective of which web hosting you choose when you sign up. In addition, if you would like use one of the features that this type of a file offers, but you do not have a lot of experience, you will be able to use our .htaccess generator tool, that will provide you with an easy-to-use interface where you can use checkboxes and enter only file names or URLs. That way, you can take advantage of an .htaccess file even if you do not know the syntax of the directives that you have to use in general. With just a few clicks, you will be able to redirect a domain, to select another homepage for an Internet site, or to even set a different version of PHP for a particular Internet site, which can be different from the version your website hosting account uses.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans include an .htaccess generator tool, that is simple enough to be used by individuals without previous experience. You shall be able to access it via your Hepsia Control Panel and use an intuitive interface to enable any option you want. After you select the folder where our system will create the .htaccess file, you just need to check the boxes next to the options that you want to activate, then save the changes and you shall be good to go. The one thing you'll have to type manually shall be a URL - if you want to use the .htaccess file to redirect one of your domains/subdomains to an alternative address or if you would like to use personalized error pages. Our platform will also permit you to set the PHP version which a site will use by placing an .htaccess file inside its root folder, even when your account in general uses a different version.