Developer forum

Forum » CMS - Standard features » Language layer URLs not working correctly?

Language layer URLs not working correctly?

Jop Reuvers
Reply
 I'm working on a solution that uses three language layers, which I've created in the websites module and are called: nl (which is the default language), en and fr. In the customized URL section of mangement center I've selected location and page name and include language layer. When I go to the properties of the homepage of the en language layer It shows that the url is /en/, but when I try to reach my website at http://solutionname.dev/en/ I get the nl 404 page. The masterpage also contains the  template tag which is being rendered as nl. I can still reach the english and french version of the solution at http://solutionname.dev/en/home.aspx
languagelayers.jpg

Replies

 
Vladimir
Reply
 Hi Jop!

This is likely due to caching. The most frequently seen in IE. But we're trying to fix it

Best regards,
Vladimir

 
Jop Reuvers
Reply
 I have cleared my cache serveral times and have tried to reach the /en/ URL in several browsers, but the problem still persists. So I don't think It's caching.
 
Vladimir
Reply
Hi Jop,
sorry, I don't clearly understand the problem. There is no such navigation urls for areas.
May be this is can be solved with custom http handler.. but I'm not sure what it's worth to do.

Best regards,
Vladimir

 
Jop Reuvers
Reply
I want to achieve the following:
- The url: http://www.solutionname.com/nl/ should be redirected to http://www.solutionname.com/nl/home.aspx
- The same goes for the urls http://www.solutionname.com/en/ (to /en/home.aspx) and http://www.solutionname.com/fr/ (to /fr/home.aspx)

I know I can achieve this by setting redirects via Directpaths in management center, but shouldn't the above be the standard functionality?

Besides this I'm running into another issue with 404 pages. When I go to a page that doesn't exist (c.q. http://www.solutionname.com/nl/asdfasdf) I'm getting the 404 page of the NL language layer, which is fine. But when I go to the following url: http://www.solutionname.com/en/asdfadsf I'm also getting the 404 page of the NL language layer instead of the EN language layer, the same goes for the FR language layer. This while I've created and set different 404 pages for the EN and FR language layers.

 

You must be logged in to post in the forum