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
- WordPress 6.0.1: Numerous Bug Fixes for Core and Block Editor
- What’s New in WordPress 6.0 Arturo
- Gutenberg Tutorial: How to Move Blocks in WordPress
- Gutenberg Tutorial: How to Add a Block to a WordPress Post or Page
- Gutenberg Tutorial: Deleting a Block in WordPress
- Gutenberg Tutorial: Using Block Patterns in WordPress
- Gutenberg Tutorial: Using WordPress Reusable Blocks
- Gutenberg Tutorial: Using the WordPress Block Library
- Gutenberg Tutorial: Keyboard Shortcuts
- Gutenberg Tutorial: Customizing the WordPress Block Editor Interface
- Gutenberg Tutorial: The Interface of the WordPress Block Editor
- AwardSpace: How Terms and Conditions protect your website: disclaimer, liabilities, and more
- WordPress 5.8 Tatum Is Here. See What’s New!
- How to force HTTPS with .htaccess
- How to flush DNS cache on Windows?
- .htaccess Generator
- How to Transfer a Website to AwardSpace?
- How to Comply and Some Common Mistakes to Avoid
- Best WordPress WYSIWYG Editor Plugin
- Where Can I See My Bandwidth Usage?
- How to Log Into the Hosting Control Panel?
- How to Signup for a Free Hosting Service?
- 5 Reasons Why You Should Create a Blog for Your Brand
- Gutenberg Tutorial: The Basics of the WordPress Block Editor
- 5 Ways to Build Stronger Customer Relationships
- How to Manually Backup your Website?
- .CM
- .TW
- .JP
- .IN