Hey I have a website which is hosted externally the primary domain is www.speak-weather.com however I have since bought a new domain name www.cyprusstairlifts.com which points at the same directory and default page.
I now have two problems firstly I want all traffic to come to my new domain and not the old one both users and search engines.
Secondly i have noticed in my google stats it records visits to my site as
cyprusstairlifts.com rather than the full name, again for reporting purposes it would be best if these also were reported as the full name.
I am thinking the code below added to each page on my site is the answer but wanted to check if there are any pitfalls.
If it wasnt my site wasnt hosted under the original name then I would disgard the speak-weather domain altogether.
Code:Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'Put user code to initialize the page here
Response.Status = "301 Moved Permanently"
Response.AddHeader("Location", "http://www.cyprusstairlifts.com/")
End Sub
