Exclude pages from a domain for another domain in multi lingual websites
I made a site in Umbraco after watching the movies about "Running Multiple sites". I copied my site (with the language "Dutch" assinged to it) and made an english version. Both sites I assigned a different hostname (dutch.mywebsite.com and english.mywebsite.com)
If I browse to dutch.mywebsite.com/artikel_1.aspx it shows the right page. But the problem is that I can also go to dutch.mywebsite.com/article1_aspx, which shows a article of the other domain, although the article_1.aspx is not in the tree of dutch.mywebsite.com.
Is there a way to prevent this from happening without making a 301-redirect for every page?
Exclude pages from a domain for another domain in multi lingual websites
I made a site in Umbraco after watching the movies about "Running Multiple sites". I copied my site (with the language "Dutch" assinged to it) and made an english version. Both sites I assigned a different hostname (dutch.mywebsite.com and english.mywebsite.com)
I have the following site structure
* Home (domain dutch.mywebsite.com)
** Artikel 1 (artikel_1.aspx)
** Contact (contact.aspx)
.....
* Home (domain english.mywebsite.com)
** Article 1 (article_1.aspx)
** Contact (contact.aspx)
If I browse to dutch.mywebsite.com/artikel_1.aspx it shows the right page. But the problem is that I can also go to dutch.mywebsite.com/article1_aspx, which shows a article of the other domain, although the article_1.aspx is not in the tree of dutch.mywebsite.com.
Is there a way to prevent this from happening without making a 301-redirect for every page?
Jeffrey,
Did you change the useDomainPrefixes option to true in config/umbracoSettings.config
Hope this helps.
Regards,
/Dirk
Thanks, Dirk. Sometimes life's so easy :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.