I’m in search of the best method to keep two websites, on two different domains, sharing the same server, identical but in the same time one to be in English, and another in another language.
I was thinking on a system like this:
Have a php file with text for “about us” stored in a variable so when it’s accessed by “.com” domain to get the value in English, and when it’s accessed by “.it” gets the value in Italian.
Is this the best practice? Can you recommend me anything else?
Read more here: Multilanguage website on two different domains