Request Manager not Returning Page for Manual Alias

  • Updated

When applying a manual alias, such as "default.aspx," the requestManager class does not return the target page. The page does return if using any other URL that maps to a manual alias assigned to that content item.

var target = requestManager.GetTarget(context.Request.Url, requestInformation.ContentLanguage);

Another template named "default.aspx." Because the template already has this name, the alias cannot redirect to the correct page.

Remove or rename the default.aspx template.