View Single Post
Old 02-03-2015, 03:22 AM   #1
Ruby707
Registered User
 
Join Date: Sep 2014
Posts: 650
URL rewriting through global.aspx file

protected void Application_BeginRequest(object sender, EventArgs e)

{

if (Request.Url.ToString().ToLower().Contains("aboutu s.aspx"))

{

app.Context.RewritePath("/PrayerForPease/showStaticPages.aspx?pageId=" + pageId);

}

}
Ruby707 is offline   Reply With Quote