I have a question regarding SEO and PR transfer in inner pages. 1.) Currently I am developing website in php which has following URL structure http://www.mywebsite.com/index.php?page=firstpage I will have this page in several languages using php $LANG command. This command leaves URL strucutre the same when changing language. 1.1 Now I wonder how to change URL structure to fit SEO best and inner PR transfer best. Is it wise to create lets say www.mywebsite.com/article_title.html for english language and then for other language www.mywebsite.com/article_title_translated.html and so on and so on? Or what is the best solution? 1.2 Will then the PR from home index page get lost in all those subpages for lets say 5 languages i would have 5 URLs with name of article in every language so PR will be transfered to 5 subpages. Or is better solution to leave all languages on one URL with $LANG and therefore keep PR. But that probably affects search engine indexing or not? 2.) My second question: If my home index page has script that recognizes language and sets it for every single user visiting website how does google index this homepage, what is the visest solution to do? Maybe immediately redirect to www.mywebsite.com/en or www.mywebsite.com/de for german or how? Thank you for you answers and effort. I hope somebody knows the answers to this questions.
From the SEO point of view I recommend to create a subdomain for every language. This way you can put your main keyword in the URL. E. g.: english-keyword.domain.com spanish-keyword.domain.com german-keyword.domain.com
Thank you for answer but I have to say that domain does not inlcude the imortant keyword cause its a name of the company, there fore maybe the best solution would be www.mydomain/en/name_of_article_in_en.html and for other language www.mydomain/en/name_of_article_in_other.html? Or how can this be solved best? And maybe somebody knows how to solve this 2.) My second question: If my home index page has script that recognizes language and sets it for every single user automaticly when he visits website, how does google index this homepage, what is the visest solution to do? Maybe immediately redirect visitors to www.mywebsite.com/en or www.mywebsite.com/de for german or how?