Copied to clipboard

Flag this post as spam?

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

  • wolulcmit 357 posts 693 karma points
    Oct 03, 2013 @ 09:50

    Creating a redirect between sites or domains

    I have a url which existed on a previous site

    which now, because the site has been rebuilt in umbraco and content is split across different subdomains I want to redirect old content to the appropriate new subdomain.

    is it possible to catch urls for 1 domain and then pass them accross to the other.
    I would have thought since I've picked a node which is in Site2's structure it would automatically know to render it from that site's hostname.
    I get a redirect which doesnt take into consideration that the main url stem should be different.
    for example my redirect gives me:
    instead of what I am expecting which is

    a bug perhaps?
    or I'm not using it correctly?

    I know there's a dropdown to choose which domain the redirect exists under. but that doesnt help me in this situation as my site2 urls never existed previously.

    hope that makes sense.

    - Tim

  • Gary Bond 13 posts 36 karma points
    Feb 13, 2014 @ 14:53
    Gary Bond

    I had exactly the same issue as this when migrating a part of my site to a sub-domain. I resolved it by leaving a published content node on the main site, with an umbracoRedirect set, pointing to the new node on the new site whch is in the same Umbraco instance. You can always use umbracoNaviHide to mask off the old node from being shown in menus. It seems the Umbraco redirect is clever enough to include the change of domain in the node URL. Once this was working I just deleted the 404 errors in URLTracker.

Please Sign in or register to post replies

Write your reply to: