I am having an issue in Sitecore where when I try to redirect to a particular page from within a Controller, it takes me to the home URL of the website instead of the path that I am specifying.
This is the code for the redirect
public ActionResult ClaimantLogin(ClaimantLogin viewModel)
// other processing code here
I have confirmed that this code is hit when I run in my local environment. The odd thing is that this works when run in a testing environment on the Delivery instances but has the issue when run on the Authoring or Standalone instances leading me to suspect something is happening with the configuration.
Any ideas what this could be as nothing in particular stands out to me?