I'm new to MVC and trying to achieve page redirection. User will click on "Sign-out" and should be redirected to the "sign-in" page.
Here is my code.
public ActionResult SignIn()
{
if (Sitecore.Context.IsLoggedIn)
{
LogoutUser();
return RedirectToRoute(MvcSettings.SitecoreRouteName, new { pathInfo = "/en/sign-in" });
}
}
This method is invoked, but the page is redirected to "en/?f" and the message on page is
This domain is not configured for this service. Please add it to your account.
Should something be configured for routes or in web.config.
Using Sitecore 8.0 update 5