Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Peck 690 posts 1896 karma points c-trib
    Jan 05, 2023 @ 15:12
    David Peck
    0

    Multiple cultures without multiple domains

    I'm getting this error:

    The root node {RootNodeName} was published with multiple cultures, but no domains are configured, this will cause routing and caching issues, please register domains for: {Cultures}
    

    I do indeed have root level content items that vary by culture, however my content finder is correctly selecting the correct content and culture based on the path. A URL like /en-gb/about-us will use the 'en' culture, just as a URL like /en-us/about-us would also use the 'en' culture. Both urls use a node at /country-home/about-us. The different countries just have different telephone numbers amongst other variations.

    So my questions are:

    1. Is there a problem with my setup? Even if I've sorted the routing, I've done nothing with caching.
    2. If there is no problem then how do I get the error to go away?

    Thank you in advance

  • Luuk Peters 85 posts 331 karma points
    Jan 10, 2023 @ 09:40
    Luuk Peters
    1

    You can set multiple cultures and hostnames with the same domain.

    So:

    • www.domain.com => nl-NL
    • www.domain.com/en => en-GB

    So maybe set the cultures and hostnames for English explicitly?

  • David Peck 690 posts 1896 karma points c-trib
    Jan 10, 2023 @ 10:04
    David Peck
    0

    Thanks for responding, Luuk.

    However I discovered the issue was that my database had come orphaned data in the umbracoDomains DB table. Removing these rows resolved the issue.

  • Björn Fredberg 2 posts 73 karma points
    Sep 17, 2024 @ 07:03
    Björn Fredberg
    0

    Thanks, this solved my problem. I was missing a domain in my solution. As soon as I added it I was able to publish.

    Just like to add that to add a domain, go to the Content tab, right-click on one of your root documents and select "Culture and Hostnames".

  • 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.

Please Sign in or register to post replies