Don't miss out Virtual Happy Hour this Friday (April 26).

Try our conversational search powered by Generative AI!

SiteHost language selection doesn't work with simple urls?

Vote:
 
Hi all, We are developing a globalized web site where several pages should be accessible through a simple address. A particular simple address should go to the same page and the host name should decide which language version of the page should be displayed. Example: domain.se/gotopage <- swedish version of the page domain.com gotopage><- english version of the page the language selection through hostnames works well except when using simple addresses like this. instead of going to the correct language version of the "gotopage" page, it always goes to the latest saved version of the page. is this the expected behaviour of simple addresses or is it a bug in episerver? this is causing some concerns, because we really need to have the same simple url for different language versions, and let the domain name decide which langauge should be displayed. any thoughts about this would be greatly appreciated. thanks, christoffer>
#15964
Jan 14, 2008 17:59
Vote:
 
Try upgrading to SP1 first, I know we have had some issues with too aggresive caching in the release. And what does your domain to language configuration look like in web.config ?
#16703
Jan 23, 2008 17:07
Vote:
 

I am also having this exact same problem with CSM5 R2 SP2. I got a new DLL with fileversion 5.2.375.238 that was supposed to fix this but it doesnt work anyway...

#34694
Nov 12, 2009 12:53
Vote:
 

Has there been any resolution to this.  I am also having the same problem.

#36646
Feb 05, 2010 14:37
Vote:
 

Hi. I belive i had the same issue. the sql query that resturns the shortname uri only returns one entry. In an enterprise enviroment you can have the same simple uri for different domain names.

 

http://world.episerver.com/Templates/Forum/Pages/Thread.aspx?id=35606&epslanguage=en

#37053
Edited, Feb 18, 2010 12:36
Vote:
 

I have the same problem. "site.se" goes to a norwegian page.

web.config:
 <siteHosts>
  <add name="www.site.se" language="sv" />
  <add name="www.site.no" language="no" />
  <add name="site.se" language="sv" />
  <add name="site.no" language="no" /> 
  <add name="*" />
 </siteHosts>

*EDIT: This turned out to be a problem with the so-called agressive caching, solved using hotfix*

#41765
Edited, Jul 26, 2010 12:29
Vote:
 

Eskild: Can you give me a link to this hotfix since I have a similar problem. My danish site links to the swedish sometimes and vice versa. :/

#44165
Oct 04, 2010 15:22
Vote:
 

And did it work correctly for you? I'm still having troubles after the hotfix. :/

#44171
Oct 04, 2010 16:02
Vote:
 

Have you added it to the GAC in addition to adding it to the project? Worked for me.

#44175
Oct 04, 2010 16:16
Vote:
 

Eskild: We got a new hotfix from EPiServer and added it to the GAC and it worked like a charm. :) Thanks for the help!

#44228
Oct 06, 2010 15:27
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.