10/26/2006 5:22:48 PM
MultiLingual with URL like www.mysite.com/en/
i want to reflect the language of a page in the url.
My intention is to build my site as much search engine friendly as possible, and so i dont want to use querystring parameters at all and i dont want to use subdomains or domains as this would split the weight of my site to different domains.
www.mysite.com/en/home.aspx or www.mysite.com/de/home.aspx
instead of using a parameter like:
www.mysite.com/home.aspx?lang=de or www.mysite.com/home.aspx?lang=en
I tried to use the UrlRewritingNet from www.urlrewriting.net to do a rewrite before the internal Kentico rewrite.
This works, but it breaks the request paths:
www.mysite.com/en/home.aspx gets rewritten to www.mysite.com/<b><i>EN</i></b>/home.aspx?lang=en
Any input or help is highly appreciated.