After the old web page has been moved, you should make a 301 redirect to allow visitors or search engines to access it. There are many way to do that. This is one of them.

Code Snippet

private void Redirect301()
	Response.Status = "301 Moved Permanently";

Sample Usage

private void Page_Load(object sender, System.EventArgs e)
Categories : ASP.NET, Programming, C#
Tags : 301 Redirect

author's photo

Author : Blue Cloud

Just a normal software developer who love to write code. Developing professional software since 1999. After working in the software industry for many years, I've started my own website to share knowledges and experiences.

blog comments powered by Disqus