Skip to main content
deleted 5 characters in body
Source Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117

I've a site in x languages and each language has its own domain and language like

www.mycompany.de, www.mycompany.co.uk, www.mycompany.at, ....

Currently, I can force another language - e.g. German on the English site - on any of the sites like this: wwww.mycompany.co.uk?sc_lang=de-DE.

I want to prevent this.

Also, Sitecore's URL resolver will also recognize other Display Names for an item. So for instance I can go www.mycompany.de/about-us on the German site, where only www.mycompany.de/ueber-uns should be allowed.

Is there one setting I just need to activate and this works out of the box? If not, what is the solution here?

I've a site in x languages and each language has its own domain and language like

www.mycompany.de, www.mycompany.co.uk, www.mycompany.at, ....

Currently, I can force another language - e.g. German on the English site - on any of the sites like this: wwww.mycompany.co.uk?sc_lang=de-DE.

I want to prevent this.

Also, Sitecore's URL resolver will also recognize other Display Names for an item. So for instance I can go www.mycompany.de/about-us on the German site, where only www.mycompany.de/ueber-uns should be allowed.

Is there one setting I just need to activate and this works out of the box? If not, what is the solution here?

I've a site in x languages and each language has its own domain and language like

www.mycompany.de, www.mycompany.co.uk, www.mycompany.at, ....

Currently, I can force another language - e.g. German on the English site - on any of the sites like this: wwww.mycompany.co.uk?sc_lang=de-DE.

I want to prevent this.

Also, Sitecore's URL resolver will recognize other Display Names for an item. So for instance I can go www.mycompany.de/about-us on the German site, where only www.mycompany.de/ueber-uns should be allowed.

Is there one setting I just need to activate and this works out of the box? If not, what is the solution here?

edited tags
Source Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117

How do I allow only the configured language for each site?

I've a site in x languages and each language has its own domain and language like

www.mycompany.de, www.mycompany.co.uk, www.mycompany.at, ....

I need to deactivate the language fallback completlyCurrently, so when someone tries to change theI can force another language in the english portal by query to german with

wwww.mycompany.co.uk?sc_lang=de-de

then this should not go e. Also when someone tries to callg. German on the url for aboutEnglish site -us in german on any of the sites like

www.mycompany.de/about-us this: wwww.mycompany.co.uk?sc_lang=de-DE.

should not work and I should get a 404 not found here is onlywant to prevent this url allowed

www.mycompany.de/ueber-uns.

I am not shure if I forgot somethinkAlso, Sitecore's URL resolver will also recognize other Display Names for an item. So for instance I need to preventcan go www.mycompany.de/about-us on the German site, where only www.mycompany.de/ueber-uns should be allowed.

Is there one setting I just need to activate and this works out of the box? Or is there a good blogpost out there I've If not found so far for this problem, what is the solution here?

allow only the configured language for each site

I've a site in x languages and each language has its own domain and language like

www.mycompany.de, www.mycompany.co.uk, www.mycompany.at, ....

I need to deactivate the language fallback completly, so when someone tries to change the language in the english portal by query to german with

wwww.mycompany.co.uk?sc_lang=de-de

then this should not go. Also when someone tries to call the url for about-us in german like

www.mycompany.de/about-us

should not work and I should get a 404 not found here is only this url allowed

www.mycompany.de/ueber-uns

I am not shure if I forgot somethink I need to prevent.

Is there one setting I just need to activate and this works out of the box? Or is there a good blogpost out there I've not found so far for this problem?

How do I allow only the configured language for each site?

I've a site in x languages and each language has its own domain and language like

www.mycompany.de, www.mycompany.co.uk, www.mycompany.at, ....

Currently, I can force another language - e.g. German on the English site - on any of the sites like this: wwww.mycompany.co.uk?sc_lang=de-DE.

I want to prevent this.

Also, Sitecore's URL resolver will also recognize other Display Names for an item. So for instance I can go www.mycompany.de/about-us on the German site, where only www.mycompany.de/ueber-uns should be allowed.

Is there one setting I just need to activate and this works out of the box? If not, what is the solution here?

Source Link
squadwuschel
  • 1.2k
  • 9
  • 29

allow only the configured language for each site

I've a site in x languages and each language has its own domain and language like

www.mycompany.de, www.mycompany.co.uk, www.mycompany.at, ....

I need to deactivate the language fallback completly, so when someone tries to change the language in the english portal by query to german with

wwww.mycompany.co.uk?sc_lang=de-de

then this should not go. Also when someone tries to call the url for about-us in german like

www.mycompany.de/about-us

should not work and I should get a 404 not found here is only this url allowed

www.mycompany.de/ueber-uns

I am not shure if I forgot somethink I need to prevent.

Is there one setting I just need to activate and this works out of the box? Or is there a good blogpost out there I've not found so far for this problem?