Score:0

Language directory rewrite to root Wordpress

in flag
INT

I am trying to achieve following: I have language directories eg. mysite.com/en/ mysite.com/th/ and so on. I want main site/files from root directory will be diplayed when someone enters mysite.com/en/something.html

So mysite.com/en/something.html actually diplaying files from mysite.com/something.html

kz flag
"diplaying files from mysite.com/something.html" - Are you dealing with physical files? But you've referenced WordPress?
in flag
INT
Wordpress is installed in root. I am not sure maybe I need Wordpress url rewrite instead of htaccess at all to achieve this.
in flag
INT
What I'm trying to do is multilingual website and I need normal language directories displayed in url instead of using simply in the end of each url ?lang=en I am not sure at all this si a right way to do it...if anyone has been in this point maybe guide me to the right direction
kz flag
"I want main site/files from root directory" - If this is a WordPress site then there are no physical files from the root to be served. The URLs are presumably entirely "virtual" and handled by WordPress. I think you are going to need to do this in WordPress, not Apache/`.htaccess`. The WordPress stack may be a better fit for this question: https://wordpress.stackexchange.com/
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.