Skip to content

Instantly share code, notes, and snippets.

@edysegura
Created March 19, 2014 12:17
Show Gist options
  • Save edysegura/9640473 to your computer and use it in GitHub Desktop.
Save edysegura/9640473 to your computer and use it in GitHub Desktop.
URL Redirection
<%
response.setStatus(301);
response.setHeader("Location", "http://www.your-new-address-here.com/");
response.setHeader("Connection", "close");
%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment