Copied to clipboard

Flag this post as spam?

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

  • Siw Ørnhaug 130 posts 109 karma points
    May 09, 2012 @ 09:38
    Siw Ørnhaug

    Url rewriting on nodes shared by two domains - best practice?

    I have a 4.0.3 Umbraco installation serving 2 sites, let's call them NT and UT

    NT has a rather large content part which now is to be shared between the two. It's general info that both want to present and of course so we don't have to copy all that content when no changes are needed. Only difference in use is layout, which is served by using alternate template when the content is navigated from UT. This works very well.

    But my customer doesn't like that the domain name NT appears in the url when navigated from UT. These are two separate economic entities and should not be visually mixed.

    Question is then:

    What is the easiest way to rewrite only the first part of the url from NT to UT?

    I guess that I need some kind of regex solution. I have seen on the forum several ways to do this. I'm concerned about the solution behaving well when I some time this year upgrade the sites to version 4.7.x or maybe 5.


Please Sign in or register to post replies

Write your reply to: