Unfortunately, i couldnt find a good solution. But i think its better(may be not :) ) than rawurl: Request.Path.Replace(Request.ApplicationPath, "") As you see we cannot keep the querystrings in here. It just keeps the last page. If you want to take back again your querystrings, you should write a new method for rp. Im working on same problem in my project :)