All images stop loading after URL rewrite..In Global.asax under Application_BeginRequest i created custom 3 codes of context.rewritepath for loading pages as per address contents. main mapping code is this:\[code\] If Directory.Exists(Server.MapPath("~/users/" & parameters(i))) Then (check user named directory exists, if yes then do this) Context.RewritePath("/users/" & parameters(i) & "/default.aspx", False) testVar = parameters(i) Return Else Context.RewritePath("/error.aspx") Return End If\[/code\]Parameters(i) contains users name as stringThis is asp page img tag code i try, but no one loading image.\[code\] <img src="http://stackoverflow.com/questions/15858948/Images/demo.JPG" /> <img src="http://stackoverflow.com/Images/demo.JPG" /> <img src="http://stackoverflow.com/questions/15858948/~/Images/demo.JPG" /> <img src="http://stackoverflow.com/questions/Images/demo.JPG" /> <img src="http://stackoverflow.com/Images/demo.JPG" /> <img src="http://stackoverflow.com/Images/demo.JPG" />\[/code\]I try Base tag, it works and all images load, But my other URL rewritten links stop work . other mapped links also got the base path.\[quote\]\[code\]<base href="http://www.mydomain.com" />\[/code\]\[/quote\]I try to get the value of page with HttpContext.Current.Request.Path.ToLower() in a variable and the output is:\[quote\] /users/abcUser/default.aspx\[/quote\]Any solution?