![]() |
Language based redirect with .htaccess
Hello, everybody. My forum https://www.hspir.it is in two languages, English and Italian. All English topics are in the directory https://www.hspir.it/en, Italian topics are in https://www.hspir.it/it. I would like that people using an English browser would automatically be redirected to the first folder, Italians to the second. I tried to configure a .htaccess file, but, as soon as I uploaded it, the forum became impossible to open, or I saw a message saying that there were too many redirects. I tried these two kind of codes in .htaccess:
Code:
RewriteEngine on Code:
RewriteEngine on I am using vBulletin 5.5.1. |
All times are GMT. The time now is 01:43 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|