Forum Moderators: open

Message Too Old, No Replies

Is this 301 possible?

         

AndrewPeterson

4:24 pm on Sep 4, 2004 (gmt 0)

10+ Year Member



I have 3 domains.

Main
Alias
Alias

Setup in IIS all point to same site. I don't have server access.
I want to do a 301 on the 2 alias domains.
Is there anything i can put into my index.html file to produce a 301 header for the 2 alias domains?.

I dont think there is but thought i'd ask just in case someone knows of something.

Krapulator

2:54 am on Sep 6, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Delete the index.html file and create one called default.asp and place this code in it:

<%
response.status = "301 Moved permanently"
Response.AddHeader "Location", "http://www.example.com/"
%>