With an .htaccess file, you will determine how the web server that handles the requests to your web sites should act in various cases. This is a text file with directives that are performed when somebody tries to open your website and what happens next will depend on the content of the file. As an illustration, you can block a specific IP address from accessing 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 may redirect the visitor to the new web address. Also you can use tailor-made error pages or secure any part of your site with a password, if you place an .htaccess file inside the correct folder. Many widely used script-driven apps, like WordPress, Drupal and Joomla, use an .htaccess file to operate properly.

.htaccess Generator in Semi-dedicated Servers

Our semi-dedicated server plans come with an .htaccess generator tool, which is easy enough to be used by individuals with no previous experience. You shall be able to access it via your Hepsia Control Panel and employ an intuitive interface to activate any option you need. As soon as you pick 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 enable, then save the changes and you shall be all set. The one thing you will have to type manually will be a URL - if you would like to use the .htaccess file to forward one of your domains/subdomains to a different address or if you want to use customized error pages. Our platform will also allow you to set the PHP version that a site will use by placing an .htaccess file inside its root folder, no matter if your account in its entirety uses a different version.