Solved

Google Index

Posted on 2012-03-26
4
375 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:Tony McCreath
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:
Tony McCreath 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…
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.

679 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