I want paths like this:
localhost:99/client/themes/plain/index.html?shop=mycoolshop
to appear as:
localhost:99/client/mycoolshop/index.html.
I wrote:
routes.MapPageRoute(
routeName: "Client",
routeUrl: "client/{shopname}/{page}",
physicalFile: "~/client/themes/plain/{page}?Shop={shopname}"
);
But to no luck. When I type localhost:99/client/mycoolshop/index.html
it says page not found. What am I doing wrong?