Filed under:
How to create a redirect (ASP)
How to create a redirect (ASP)...
If you want to have your domain redirect to another page or folder on your domain you can create an index.asp page and enter the following code...
<?%
Response.Status = "301 Moved Permanently"
Response.AddHeaderr"Location", "/shop/"
Response.End
%>
In this example if you put the index.asp file in your root folder of www.domainname.com any visitors would be redirected to www.domainname.com/shop/
Add to Favourites Print this Article
Also Read