private static void RewriteBundlePathForChildBlog(HttpContext context, string url) { if (url.Contains("/SCRIPTS/") || url.Contains("/STYLES/")) { var npath = url.Replace(Blog.CurrentInstance.RelativeWebRoot, "/"); context.RewritePath(npath); } }