Solved

Google Index

Posted on 2012-03-26
4
373 Views
Last Modified: 2012-03-29
We have a web site that was decommissioned a long time ago but the DNS was left in. When we re-used the IP address Google indexed the site with the Old Domain name.

The new Domain is touchpointatm.com the old one was langfordstiegallery....

I have put back up langfordstiegallery... using the Old IP and gave http://touchpointatm.com a new IP address. I have put redirect links on all the matching pages so Langford will redirect to http://touchpointatm.com also with a meta tag that will redirect with 5 sec delay.

Is this the best way to try to clear up the list mismatch (see screen shot) or is there more I can do or something better.
3-26-2012-1-54-50-PM.jpg
0
Comment
Question by:RickEpnet
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Tiggerito
ID: 37771218
The best way is to do 301 permanent redirects. These tell the search engine to move on and update their indexed data. It also quickly send visitors to the correct place.

How you do this is based on the server hosting your old domain.
0
 
LVL 14

Author Comment

by:RickEpnet
ID: 37785651
The server hosting is IIS 6.0. They are both on the same server.
0
 
LVL 23

Accepted Solution

by:
Tiggerito earned 500 total points
ID: 37785700
If the pages are ASP.Net pages then you can do this:

try { 
this.Response.Redirect("http://www.website.com/new-page/", true); 
} 
catch (Exception) 
{ // this is to make the redirect a 301 type 
context.Response.StatusCode = (int)HttpStatusCode.MovedPermanently; 
throw; 
}

Open in new window


or in .Net 4.0 it can be simplified to:

this.Response.RedirectPermanent("http://www.website.com/new-page/");

Open in new window


If they are old asp files then:

<%
Response.Status="301 Moved Permanently"
Response.AddHeader "Location","http://www.website.com/new-page/"
%>

Open in new window


Otherwise it's quite tricky to set up redirects in pre IIS7 servers.
0
 
LVL 14

Author Comment

by:RickEpnet
ID: 37785790
I am using ColdFusion so this is what I did. Thank I think this will help.

<cfheader statuscode="301" statustext="Moved permanently">
<cfheader name="Location" value="http://www.touchpointatm.com/cleaning.html">
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
An overview of how to create reports in Adobe Analytics (formerly Omniture Site Catalyst) using pageNames, events, eVars and props. This video will show you how to install the Omniture Debugger tool so can see (and test) what is being passed int…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now