Copied to clipboard

Flag this post as spam?

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


  • Vijay 26 posts 127 karma points
    Feb 22, 2019 @ 10:43
    Vijay
    0

    How to change the URL dynamically based on country code

    Good day,

    Hi, my Umbraco website url is https://www.example.com/blog/. When I click any post on blog, it will redirect to https://www.example.com/blog/post-1. My question is, If I load the url from Denmark I want to load https://www.example.com/dk/blog/post-1, If Sweden https://www.example.com/se/blog/post-1. But I don't have dk or se contents on Umbraco

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Feb 22, 2019 @ 13:14
    Chriztian Steinmeier
    0

    Hi Vijayadhiliban,

    Do you want to have multiple URLs for the exact same content?

    Just asking because that's usually not good practice, SEO-wise - so you'd also need to do some extra handling to make sure search-engines doesn't flag the site foro duplicate content etc.

    How many different languages/countries do you need to handle?

    /Chriztian

  • Vijay 26 posts 127 karma points
    Feb 22, 2019 @ 13:41
    Vijay
    0

    Hi Chriztian,

    Yes, I want to have multiple URLs with same content (For example, https://www.example.com/dk/blog, https://www.example.com/us/blog, https://www.example.com/in/blog). The content will be same for all countries. There is no limit. Whoever loading my website, it should load based on their country code.

  • 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