This one stumped me for an embarrassingly long time. I have several pages that I am in the process of moving permanently to a new domain. The site is written using ASP.NET MVC and I wanted my controller to return a 301 Moved Permanently status (along with the location header) if the page in question […]