Copied to clipboard

Flag this post as spam?

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


  • Johan Dahlström 33 posts 146 karma points
    Jan 30, 2022 @ 14:37
    Johan Dahlström
    0

    Using GetByRoute() in multilingual site

    Hello,

    I've set up a multilingual site according to your guidelines. The site has two languages, swedish and norwegian. I've set cultures and hostnames on the root node to use /sv for swedish and /no for norwegian.

    If I look at the root node for example, it has /sv/ as its route. However, using GetByRoute(preview: false, '/sv/') doesn't give me a hit. Why is that?

Please Sign in or register to post replies

Write your reply to:

Draft