I have an asp.net MVC 5 site.
I have many routes - eg
http://example.com/places/placename
http://example.com/home/about
http://example.com/home/privacy
The first is dynamic - the latter two just point to the about & privacy actions in the home controller.
This works fine, however, I would like all '/home/' URLs to point to the root. eg
http://example.com/home/privacy
Should point to
http://example.com/privacy
I would also like the old route to no longer work (duplication of content is bad for SEO).
The former is easy enough to do but the old route still works. What is an elegant way to handle this?
thx.