- First, we have to install the UrlRewriting module using Web Plateform Installer:
- Next, we add a rule to redirect a legacy URL such as http://localhost:1962/products.ASPX?lang=fr-FR&category=smartphone&subcategory=samsung&id=cadc5808-75a7-4428-b491-3cacfe37d9ce to this existing MUV route: http://localhost:1962/fr-FR/products/smartphone/samsung/cadc5808-75a7-4428-b491-3cacfe37d9ce.
The MVC route has the following template pattern: http://localhost:1962/products/{lang}/{category}/{subcategory}/{id}.