Solved

Google Index

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.
Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
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 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.

792 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