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.

https://domain.com/page/ https://es.domain.com/page/ https://it.domain.com/page/

So actually I want to make all the pages of domain.com also accessible via es.domain.com

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.