what would be the best way to add 20 languages under 1 domain name ?
i want to put 10 articles of different languages to my site but for 20 different languages .
what should i choose as title ? can title of my article be in english ?
Uh, you can give a value to a parameter in the url like http://www.MySite.com/?lang=EN, or http://www.MySite.com/?lang=FR where lang is the parameter and the value is 'EN', or 'FR' and then use PHP to read that and output the page based on that.
It would be something like this:
Code:
$language = $_GET['lang']
if (language == 'EN") {
echo 'Post goes here';
} else if (language == 'FR') {
echo 'Poster va ici';
} else {
echo 'Post in default language'
}
You can put links on your page to all the languages you want it to output.
well can this be done with wordpress blogs ?
because all i know is to post articles which i will be getting in different languages but i want search engine to know that the italian page that am posting is different from the french one and german once and similarly .
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.