Solved

Google Index

Posted on 2012-03-26
4
372 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Every business owner understands the significance of online customer reviews and the impact it can have on sales and revenues. With technology advancing at such a rapid pace, getting online reviews has never been easier, especially when many regions…
A great marketing strategy is diverse.  Read about the not so popular, yet effective, marketing tactics you can start using today!
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

896 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

17 Experts available now in Live!

Get 1:1 Help Now