O zaman Global.Asax'ın Application_BeginRequest event'ında gelen veriyi parse edip yönlendirebilirsin.
protected void Application_BeginRequest(Object sender, EventArgs e)
{
string currentUrl = HttpContext.Current.Request.Url.ToString().ToLower();
if (currentUrl.StartsWith("http://domain"))
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location", currentUrl.Replace("http://domain", "http://www.newdomain"));
Response.End();
}
}
asp.net konusunda sıfırım desem yeridir hocam, bu uygulamayı nasıl gerçekleştirebilirim?