Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Here is what I did to get this to work property. In my base page, i overrode the OnInit Function
protected override void OnInit(EventArgs e)
{
if (CurrentPage.ParentLink ==PageReference.WasteBasket)
{
Response.Redirect("~/404.aspx");
}
base.OnInit(e);
}
Not sure if it is the best method but it works for our system.
Hi,
Our site currently redirects to the EpiServer login if a user attempts to access linked content that has been moved to the recycle bin. Is it possible to change this behaviour so that users see a 404 instead?
Thanks!