Category: htaccess Generator

How to enable host-based website authentication using .htaccess?

You can use the .htaccess file to easily block specific websites, which link to your media files or articles. First, set the folder in which the .htaccess file will be created, using the .htaccess location form at the top of the page. A click in the form field will open a pop-up window, from where …

Continue reading

How to block access by referrer using .htaccess?

You can use the .htaccess file to easily block visitors, which come from a specific website. First, set the folder in which the .htaccess file will be created, using the .htaccess location form at the top of the page. A click in the form field will open a pop-up window, from where you can browse …

Continue reading

How to enable language-based redirection with .htaccess?

If your website is translated into different languages, you can use the .htaccess file to redirect visitors from a specific country to the specific language version of your website. First, set the folder in which the .htaccess file will be created, using the .htaccess location form at the top of the page. A click in …

Continue reading

How to redirect wrong URLs to another web server with .htaccess?

At times, visitors might go to a non-existing page on your website. In this case, they will be presented with an error message, in most cases the 404 error message, indicating that the requested page is no longer there. If this happens, you can redirect the visitor to another web address using the .htaccess file. …

Continue reading

How to enable IP-based website authentication with .htaccess?

If you want to make a part of your website visible just to certain visitors, you can enable website authentication. This way, only visitors with the right IP address can see your website. You can do that using the .htaccess file. First, set the folder in which the .htaccess file will be created, using the …

Continue reading