All project content is available for reading, but you need to be a member of the project for Subversion checkout of source code, or to create/modify any information.
Login if you are a member. Apply here to request membership (open to all).

Ticket #254 (closed question: fixed)

Opened 11 years ago

Last modified 11 years ago

Language support and url rewriter

Reported by: magne.ingvaldsen@… Owned by: miroslaw.jedynak@…
Priority: major Component: MobileUrlRewriter
Keywords: Cc:


We are supporting different languages on our site, and are now planning to make a mobile version of the site. We support different languages by appending the language code to our url, eg. somesite.com/en. This module looks perfect for our case, but I was wondering how this would work with SuffixMatchingUrlRewriteRule and language codes in url. Is this going to be an issue?

Change History

comment:1 Changed 11 years ago by miroslaw.jedynak@…

  • Status changed from new to closed
  • Resolution set to fixed

Default EPiServer implementation uses suffixes for language selection. Check: http://makingwaves.com/en/ and http://makingwaves.com/no/ or http://m.makingwaves.com/en/ and http://m.makingwaves.com/no/ for mobile sites.

It won't be an issue as you see.

comment:2 Changed 11 years ago by magne.ingvaldsen@…

Thank you for you answer.

Could this be done without a subdomain(eg. somesite.com/en/Mobile or somesite.com/Mobile/en)?

Have tested the module a bit now, thanks for a good module!

comment:3 Changed 11 years ago by miroslaw.jedynak@…

Most common scenario we use in our projects is to use mobile (m.*) subdomain, but we also support scenario with changing query path

Check this:

I'm quite sure it works fine with languages as well

comment:4 Changed 11 years ago by magne.ingvaldsen@…

Ok, thanks again!

It is an error in the example configuration on this page:

The type MobileDomainAndAgentUrlRewriteRule does not work, but AgentBasedSubDomainMatchingUrlRewriteRule works! :)

Note: See HelpUser/Tickets for help on using tickets.