How to use the .htaccess Generator
In this video hosting tutorial you will learn how to use the .htaccess generator from your hosting control panel. It is available for free and paid users. Return to Video Tutorials Page.
- First you need to select the .htaccess Generator section from the control panel.
- If you wish to choose a default index page, click on the “Choose your default index” checkbox and fill in the page name and the valid extension
- You can set additional MIME types by clicking on the checkbox and specify them.
- You can also add or block specific IP addresses. Click on the “Allow / deny web access by IP” and specify them. Note that multiple IPs must be comma separated.
- You can set your mod_rewrite rules. You can allow or block other websites to display media data from your website. Click on the “Enable authentication per web site” checkbox and specify the sites. Multiple sites are allowed, but they need to be comma separated
- To redirect non-existing or wrong URLs, click on the “Redirect not existing/wrong URLs” checkbox and specify the destination.
- You can redirect users with IPs from specific countries to dedicated pages. Click on the “Redirect by language” checkbox, then select the desired country (or multiple countries, select them using the Ctrl key) from the list and specify the redirection path in the “Redirect to URL” text box.
- You can also block visitors from specific unwanted website. To do so, click on the “Block sites by referrer” checkbox and enter the hostname(s) in the “Host to be blocked” textbox.
- You can setup custom error 400, 401, 403, 404 and 500 pages. To do so, click on the “Setup custom error pages ” checkbox and enter the path to your custom pages.
- If you have changed the location of a specific document you can add a redirection to the new path. Click on the “Setup Document Redirection” checkbox and enter the old and the new locations of the document
- To use hotlinking protection click on the “Set Hotlink Protection” checkbox.
- You can select a custom path for the .htaccess file. Leave the field blank to use /home/www/.
- If an .htaccess file exists already you can either overwrite it or update it with the current configuration.
- If you do not need the changes you have made, but not saved yet, you can reset the form by clicking on the Clear Form button.
- To generate your .htaccess file click on the Generate .htaccess button.
- The .htaccess file has been generated.
- You can either copy the code and paste it in an existing file or replace the current one with this.
Other tutorials
- How Can I Secure My AwardSpace Hosting Account?
- How to change/reset your hosting account password?
- How can I access and log into phpMyAdmin?
- How to create a website?
- How to create a database?
- How to register a Domain?
- What Is the Difference Between a Website, Hosting, and a Domain?
- How Do I Point My Existing Domain to AwardSpace?
- The most important privacy laws you need to know and how to tell which apply to you
- Why do Young People Love TikTok so Much?
- What is the Best Time to Post on Social Media
- 5 Ways to Be More Productive While Working from Home
- Free Hosting Content Filtering and How to Resolve 403 Error
- Trouble Tickets
- What Creativity Looks Like in Digital Marketing Today
- What Causes the 403 Forbidden Error in HTTP and How Can I Fix It?
- What Is 500 Internal Server Error and How Can I Fix It?
- What Are HTTP Status Codes?
- What Is SCP?
- What Is the Difference Between SFTP and FTPS?
- How To Grow Your Instagram Account in 2021
- What Is an SSL Checker?
- What Is SSL and How Does It Protect My Website?
- What Is the Difference Between SSL and TLS?
- What Is OpenSSL?
- What Is FTPS and How Does It Work?
- What Is SFTP?
- What Is an FTP Port?
- Why is Digital Marketing So Relevant Today?
- What Is FTP Over SSH and Should I Use It?