EPIServer mulit-language routing can't work

161 views Asked by At

I have two pages used same page type, the url like following

  1. http://website/en/{node}/GUID

  2. http://website/client/en/{node}/GUID (By the way, the 'client' will change for different language)

I created a router like this {language}/{node}/{id}/{action},but only link 1 works, link 2 is 404.

Could anyone give help about this to let link2 work?

I used EPIServer 8.2

Thanks a lot!

1

There are 1 answers

0
Eric On BEST ANSWER

Because the {client} out of the start page , It should use MapPageRootRoute to add routes.