Welcome to WebmasterWorld Guest from 23.22.182.29

Message Too Old, No Replies

IP address indexed by G - how to fix this?

     
5:45 pm on Nov 13, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 17, 2004
posts:129
votes: 0


I have been developing a new site the past year on the IP address assigned by my hosting company. I have not yet directed this IP address to a domain name.
Recently, I did a Site:http://111.111.111.111 search on the IP address and found 400 folders and pages indexed by Google. Many of these pages were just test pages or part of the site structure which we deleted during the site's development. (I think Google picked up these addresses through my use of the G-toolbar)

Now that I'm ready to go "live" with the site I'm concerned about a potential dup content risk when I direct the IP address to the domain name. Will Google find the identical content on "two" sites and penalize the newer (domain-named) version? What should I do?

I was thinking of changing web hosts which would give me a new IP address for the beta site. Then I would put in a site removal request for all the older (soon to be invalid) IP pages which Google incorrectly indexed. I'm hoping that Gbot will go to the old IP address and not find any pages there and remove the cached pages from the Supplemental index. Once that is taken care of, I'd direct the new IP address to the domain name.

Is this the correct approach? What problems can you foresee if I do this?

5:02 pm on Nov 26, 2005 (gmt 0)

Administrator from US 

WebmasterWorld Administrator brett_tabke is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 21, 1999
posts:38047
votes: 11


do an htaccess mod_rewrite redirect from the ip (or anything NOT www.yourdomain.com) to the www.yourdomain.com.

RewriteCond %{HTTP_HOST} ^pubcon
RewriteRule ^(.+) [pubcon.com...] [L,R=301]

RewriteCond %{HTTP_HOST} ^123.123.123.123
RewriteRule ^(.+) [pubcon.com...] [L,R=301]

6:06 pm on Nov 26, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 17, 2004
posts:129
votes: 0


Thanks for the code, Brett- I knew about the re-write, my question related more to the dup content issues and I was looking for a conservative approach (I don't completely trust 301 rewrites which I'm not sure are being handled correctly)

I found a new host (with better stats and CMS handling) and am in the process of setting up the content on a new IP. Before I set the dns (launch) I will remove the content from the old IP and put in a url removal request.

Happy Holidays!