I want to make my website into multiple languages. My website is a database website, I don't have articles or a blog. The only thing that I want to change in the other language are the titles and the meta description for better SEO.
So I want to detect the language of the subdomain and then deliver the right titles. I already created the subdomains in DirectAdmin, but they are not corresponding with Wordpress yet.
My question is: How can I add the subdomain to Wordpress, and how can I make all these links using the same page.php, while visiting the page from their own URL?
I don't want to use a plugin.
So actually I want to make all the pages of
domain.com also accessible via