Quote:
Originally Posted by chrishirst
in the simplistic way I have set the code, you would have 3 files for every URI. One in the .com folder and one in the .kr folder. The third is in the root and has the code above in it only.
|
This sounds like a really good solution to my problem!
So just to make it crystal clear, lets say i had a simple 3 page site.
A home page, a contact page, and a products page.
I have these two domain names, with both DNS pointing to the same location:
www.mysite.com
www.mysite.kr
The site architecture would look like this?:
/index.php (with Chris's code above ONLY)
/eng/index.php (with the english version home page)
/eng/contact.php (english version)
/eng/products.php (english version)
/kr/index.php (with the korean version home page)
/kr/contact.php (korean version)
/kr/products.php (korean version)
Is that correct? Only ONE file is needed in the root directory?
|