3

Set "IsCxaSite" to true in "Site Grouping" item for that SXA site and then try to trigger cxa api's.


3

Since we cannot use RedirectToAction() in Sitecore MVC as it interrupts the page rendering process, in this case you can use the RedirectToRoute(), for example using this approach: var item = Sitecore.Context.Database.GetItem(Sitecore.Data.ID.Parse("[your item id]")); var pathInfo = LinkManager.GetItemUrl(item, UrlOptions.DefaultOptions); return ...


Only top voted, non community-wiki answers of a minimum length are eligible