Forum Moderators: open

Message Too Old, No Replies

Google Lists Old Address After 301 Redirect

How to make Google list the new URL instead?

         

mikemcs

3:25 pm on Jan 26, 2004 (gmt 0)

10+ Year Member



I have this set up in my index.php file on the

<html>
<head>

<?
if ($SERVER_NAME == "old.example.com")
{
header("HTTP/1.1 301 Moved Permanently");
header("Location: [new.example.com");...]
exit;
}

?>

But still google indexs the old page with the new pages data. My title was edited in the wrong direction - I get both sites indexed. The old site just shows the new sites data.
[edited by: ciml at 3:27 pm (utc) on Jan. 26, 2004]

Spannerworks

5:51 pm on Jan 26, 2004 (gmt 0)

10+ Year Member



This is quite common with 301 redirects on Google. It used to take up to 3 months for Google to completely resolve a 301, these days it's a lot quicker. If your 301 was set-up recently, I'd wait for the next link update.

dannyboy

6:08 pm on Jan 26, 2004 (gmt 0)

10+ Year Member



I've had several urls nearly 3 years old that I had to move to a new location. Google resolved the 301 requests and updated their index within one week. I'm not saying this is the norm, but that's how fast it was for my situation.

BTW, you know how google sometimes indents a secondary result within the same site, such as

-- www.widgets.com/products/abc-123.html
----- www.widgets.com/products/abc-123/

Well, that's what google did when I did the 301s:

-- www.OLD-URL.com/etc-etc/
----- www.NEW-URL.com/etc-etc-etc/

After a week of this it removed the OLD-URL and simply showed:

-- www.NEW-URL.com/etc-etc-etc/

mikemcs

6:14 pm on Jan 26, 2004 (gmt 0)

10+ Year Member



This change is over 6 months old.

jim_w

6:52 pm on Jan 26, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



mikemcs

It's not your site. It is G. I am having the same problem for going on 4 or 5 months now on a site that has been up 5 years. Not much we can do about it. Kind of like running buggy MS software. Not much you can do about it.