htaccess language detection
Login / Search
#71627 (In Topic #15066)
Strict Default Language Code
This is an off topic ocPortal conversation about a function of htaccess with language detection.
I have been working on a website for an organization. I'm using WordPress.
The organization is Israeli and the default language is Hebrew. I've made the website both in Hebrew and English.
English is in the root.
Hebrew is in /he/.
I'm using this code in the .htaccess:
This code works well. The problem with this code is…
In English, I can go to the Hebrew side, look at it normally. Everything is fine.
In Hebrew, I can go through the Hebrew side like normal, everything is fine. But when I try to get to the English side, it takes me right back to Hebrew.
Is this because my English is in the root directory? If I moved this to a directory called /en/ would this help? Any ideas how to fix this or work around it?
1 guests and 0 members have just viewed this: None