I have just ported an HTML site over to ASP.NET MVC 3.
Google appears to have a lot of the old pages indexed, e.g.
http://www.foo.com/bar.html
and now this will be
http://www.foo.com/bar
I'd like a way to force users and Google to be permanently redirected to the new URL structure. Some of the redirects aren't as simple as dropping the .html, so the ability to fine-tune the redirect paths would be great.
I'm hosting on Windows Server 2008 R2, so if I can do this through IIS then great, else I don't mind implementing something in code.
Any ideas please?
I've had a hunt round Google, but not found anything that seems to fit the bill.
Thanks.