Skip to content

Jeremy Massel

Just another WordPress.com weblog

  • Home
  • About Me
  • Plugins
    • Page Excerpt
    • Blurbs
    • Disable Upgrade Reminder
    • underConstruction

ASP.Net 301 Redirect

Jeremy Massel .Net, usability, Web Development March 5, 2010April 5, 2019 1 Minute

private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.new-url.com");
}

  • Tagged
  • .Net
  • C#
  • HTML
  • IIS
  • internet
  • server
  • useful
  • work

Published by Jeremy Massel

Jeremy is a Mobile Infrastructure Engineer at Automattic. View all posts by Jeremy Massel

Published March 5, 2010April 5, 2019

Post navigation

Previous Post mysql command doesn’t work in OS X snow leopard
Next Post Pure PHP Pagination
Blog at WordPress.com.
  • Follow Following
    • Jeremy Massel
    • Already have a WordPress.com account? Log in now.
    • Jeremy Massel
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • View post in Reader
    • Manage subscriptions
    • Collapse this bar