How would I create a page route to handle requests for pages that match this url: “^~/PPP/(.*).aspx” ?
I tried this but requests like ~/ppp/sompage.aspx are not redirected to ~/content.aspx:
routes.MapPageRoute(
"View Archive", // Route name
"ppp/{query}.aspx/{*querystring}", // Route URL
"~/content.aspx" // Web page to handle route
);
Pay attention to the order of your page routes. The above route was never hit because a prior rule also matched.