I'm trying (and epicly failing) to figure out the necessary rules to achieve the following as permanent 301 redirects:
www.mysite.com > mysite.com
mysite.com/oldfolder > mysite.com
www.mysite.com/oldfolder > mysite.com
mysite.com/oldfolder/old-file > mysite.com/old-file
www.mysite.com/oldfolder/old-file > mysite.com/old-file
If anyone with an understanding of IIS7 rewrite module could help out I'd be very grateful!