Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Google Index

Posted on 2012-03-26
4
Medium Priority
?
380 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 2000 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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

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…
Whoever said that “a picture is worth one thousand words” observed a fact that can dramatically affect your marketing success. Most people tend to learn visually, so many publishers commonly acknowledge the effectiveness of visual learning by using…
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
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.
Suggested Courses

877 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