void Application_BeginRequest(object sender, EventArgs e) { HttpContext context = HttpContext.Current; string file = Request.Url.LocalPath.ToLower(); if (file.Contains("residential-treatment-program")) { Context.RewritePath("/Plumfield/residences/residences.html"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)