How to use 301 Redirect in windows ?

Thursday, August 25, 2011


To add redirect code, you need to create an index page [eg: index.asp] (your domain should be pointed to that index page)

In that index.asp file you need paste these ASP code.

< %@ Language=VBScript %>
< %
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.domaincom/index.php"
%>

Now your index.asp redirect to another domain's index.php.
eg: "Location","http://www.domaincom/index.php"

If it is a UNIX account, you can use .htaccess code or PHP redirect code. You can learn more about the 301 redirect code at: 301 UNIX

No comments:

Post a Comment

 

Most Reading

Sidebar One

+1-800-574-0902 +44-20-7993-2673 (ID: 173296)