Forum Archive - Restrict one language

Restrict one language
Jul 6, 2012 8:50 am by siamagency
Hi, I would like to definitely restrict access to my site in ENGLISH ! Only one language i dont want Gtranslate translate is English. In configuration, i select english -> NO. So flag doesnt display but i still can access to site in English ! What is the best way remove english language ? Thank you
Re: Restrict one language
Jul 6, 2012 11:39 am by Edvard
Do you use the plugin or general version of GTranslate?
Re: Restrict one language
Jul 6, 2012 7:11 pm by siamagency
Hi, I use the plugin ! Gtranslate PRO. Thanks
Re: Restrict one language
Jul 9, 2012 8:53 pm by Yana
Hi, You can add the redirect rule in your .htaccess file to redirect domain.com to the main language.
Re: Restrict one language
Jul 13, 2012 4:37 am by siamagency
Hi, What rule please ? I have tried differents one but...no working RewriteRule ^(en)/(.*) http://www.monsite.com/$2 [R=301,L] RewriteRule ^(en)/(.*) / [r=301] RewriteRule ^en.*$ http://www.monsite.com/ [R=301,L] etc.. Thanks,
Re: Restrict one language
Jul 13, 2012 6:46 am by Yana
Hi, Here is an example RewriteRule ^(fr|it|ru)/(.*)$ /$1 [R=301,L] This rule will redirect French, Italian and Russian languages to the main language.
Re: Restrict one language
Jul 15, 2012 7:19 am by siamagency
Hi, Thank but i dont know why it doesnt work. I still can access the language i try to restrict ! ?? I send you example in PM. Thank you
Re: Restrict one language
Jul 29, 2012 12:22 pm by siamagency
I have sent details by PM but still no get answer... I cant restrict english language... Thank you
Re: Restrict one language
Jul 30, 2012 12:53 pm by Yana
Hi, Please try to add redirection rule after "RewriteEngine On" line.

SIMILAR TOPICS

Large numbers of crawl errors with double language codeJan 24, 2019 1:43 amReplies: 1Post by: natastna2
Translate website to any specific language, on page loadJan 19, 2019 6:49 amReplies: 1Post by: Leaon7756
Graphic translation for every language is missingDec 19, 2018 7:54 amReplies: 1Post by: Daryl Dixon
How to remove mobile Language Select Button transparencyDec 5, 2018 10:06 pmReplies: 10Post by: JeffTR
Change language automaticallyNov 26, 2018 9:29 pmReplies: 3Post by: Antilb

Try GTranslate with a free 15 day trial