M
Mark Rae
Hi,
I've inherited an ASP.NET web app which I want to restructure into a more
logical folder hierarchy (over 150 WebForms in the app's root), but lots of
users access the site by fully-qualified URLs which they've added to their
Favourites.
Is there any way to trap a page request before it's processed so that I can
redirect to its location in the new folder structure? E.g. user tries to
access:
http://www.mysite.com/viewmonthlystats.aspx
but that page now resides in
http://www.mysite.com/stats/monthly/view.aspx
I'd hoped that I could do something with Application_BeginRequest in
Global.asax, but I get the 404 error before that is even invoked.
Mark
I've inherited an ASP.NET web app which I want to restructure into a more
logical folder hierarchy (over 150 WebForms in the app's root), but lots of
users access the site by fully-qualified URLs which they've added to their
Favourites.
Is there any way to trap a page request before it's processed so that I can
redirect to its location in the new folder structure? E.g. user tries to
access:
http://www.mysite.com/viewmonthlystats.aspx
but that page now resides in
http://www.mysite.com/stats/monthly/view.aspx
I'd hoped that I could do something with Application_BeginRequest in
Global.asax, but I get the 404 error before that is even invoked.
Mark