• Welcome to Web Hosting Community Forum for Webmasters - Web hosting Forum.
 

Recommended Providers

Fully Managed WordPress Hosting
lc_banner_leadgen_3
Fully Managed WordPress Hosting

WordPress Theme

Divi WordPress Theme
WPZOOM

Recent Topics

Forum Membership

Forum Membership

301 Redirect using ASP - Permanent Redirect HTTP 301

Started by Kevin, August 10, 2008, 04:11:03 PM

Kevin

You can set 301 redirection (Permanent Redirection) using the below ASP code. It helps to search engines to redirect to the new web site:

<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.new-web-site-location.com/"
%>
Kevin