I need to redirect some pages with 301. I am mostly interested in the following cases being redirected to www.example.com:
I have google about the subject a bit and not sure which is the easiest and/or optimal way to achieve this (in ASP .NET, IIS, ISAPI filters. etc?)
Thanks in advance for the help.
I would use the IIS Rewrite Module. Then you can config the redirects in IIS manager or directly in web.config. Read more here: http://learn.iis.net/page.aspx/460/using-the-url-rewrite-module/
Thanks for the info Erik, gonna start working on it, cheers.