I have a url which existed on a previous site mysite.com/some-content
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: mysite.com/my-content instead of what I am expecting which is site2.mysite.com/my-content
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.
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.
Creating a redirect between sites or domains
I have a url which existed on a previous site
mysite.com/some-content
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:
mysite.com/my-content
instead of what I am expecting which is
site2.mysite.com/my-content
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
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.
is working on a reply...
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.