Getting ready

There are some scenarios where thinking about SEO is mandatory.

We are creating a new version of our website with MVC. But we have a lot of legacy URLs that are already used, or were recorded before the MVC version of our application. We also spent a lot of money for buying keyword to motorsearch as Google to throw all these URLs.

To manage this problem, we will use the IIS UrlRewriting module to redirect the legacy URLs to corresponding controller as an action.

Get ASP.NET Core MVC 2.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.