Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 28 Apr 2019, 17:12
bollettino bollettino is offline
 
Join Date: Aug 2018
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and, alternatively, this one:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

In both cases, the forum doesn’work. After restoring the original .htaccess file, or even without using any .htaccess file, the forum is working again. What am I doing wrong?

I am using vBulletin 5.5.1.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:43.

Layout Options | Width: Wide Color: