Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I need to return the right content based on the request origin returned by a third party api calling my action controller.
I have 2 URL 1. https://domain.com/ or 2. https://staff.domain.com/
These two domains are on a different home node (Top level node).
Based on this I will redirect the user to the right content where she/he came from.
I tried this but only seems to accept the path not the whole url
UmbracoContext.Current.ContentCache.GetByRoute("https://staff.domain.com/")
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.
Continue discussion
Get content by link to document
Hi, I need to return the right content based on the request origin returned by a third party api calling my action controller.
I have 2 URL 1. https://domain.com/ or 2. https://staff.domain.com/
These two domains are on a different home node (Top level node).
Based on this I will redirect the user to the right content where she/he came from.
I tried this but only seems to accept the path not the whole url
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.