I am trying to add this code to the global.asax file
if (Request.RawUrl.ToLower().EndsWith("discover"))
{
Response.RedirectPermanent("discover.html");
}
is there any way of doing this without losing what is already compiled?
this is on nop 2.30
if (Request.RawUrl.ToLower().EndsWith("discover"))
{
Response.RedirectPermanent("discover.html");
}