This article explains what is the http status code 301 and 302, 301 status code vs 302 status code, how to use it and how to implement it in your asp.net c# website.
Programming Tutorials And Source Code - ASP.NET,C#.NET,MVC,JQuery,JavaScript,SQL Server,Angular,WCF examples