Hello,

I have a question relating to serving international content that I hope someone can help with.

It is kind of leaning towards an SEO question, but it does relate to Struts in terms of how I can use Struts 2 to control page direction because of language selection.

In terms of SEO, I am guessing that serving the content for three languages on one page, would be bad for SEO.

For example, serving English, French and German versions for a page all on the same URL:

www.mydomain.com/myPage.htm

This is possible of course creating and using the corresponding language resource bundles. Struts 2 would serve up the correct content based on the browser locale setting.

However, looking around Googles knowledgebase, it would be better to have:

www.mydomain.com/en/myPage.htm
www.mydomain.com/fr/myPage.htm
www.mydomain.com/de/myPage.htm

How can I configure struts to work in this way, ie redirect a user to a subdirectory tree based on the language locale set in their browser.

Thanks for any thoughts.
Robin


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to