UrlRewriting depends on the Browser-Language
-
hello i'm looking for some help for the following problem. i developed a asp.net 2.0 multilanguage webpage using localization with resource-files (FR and EN content). all of my aspx - pages are in the same folder but i want that the search engines detect the text of both languages. to solve that problem i atteched the Intelligencia.UrlRewriter.dll from www.urlrewritingnet.com to my project. later i've implement the following rule in my web.config file to make the french-content visible for the search engines
<rewrite name="rule1" url="^/(.*)/(.*)/fr/(.*).aspx" to="/$1/$2/$3.aspx"></rewrite>
that means, if someone enters directly: www.mypage.com/folder1/folder2/fr/default.aspx it will be rewritten to: www.mypage.com/folder1/folder2/default.aspx is that enough to make the french-content visible for the search engines ? and... how can i redirect or rewrite from www.mypage.com to www.mypage.com/folder1/folder2/fr/default.aspx , if anybody enters the website and uses fr-FR as the default browser-language ? How can i solve that ? thanks for any help