Forum Moderators: open
All that to ask...how do we get this changed so they index his domain which has all his backlinks (and thus his link pop/ranking) instead of his IP? He has asked Yahoo and they don't reply.
For example, here are some browser requests, and the server response:
Request .................................. Response
GET http://www.example.com/ .............. Serve index page
GET http://www.example.com/widget.html ... Serve widget page
GET http://example.com/ .................. 301 redirect to http://www.example.com/
GET http://192.168.0.1/ .................. 301 redirect to http://www.example.com/
GET http://example.com/index.html ........ 301 redirect to http://www.example.com/
GET http://example.com/widget.html ....... 301 redirect to http://www.example.com/widget.html
It is important that one page on your site have one and only one URL. Otherwise, you open yourself up to accidental and maliciously-intended problems like this.
We have had extensive discussions here on domain canonicalization issues -- try searching WebmasterWorld for more information on canonical domains [google.com] and related terms.
Jim
We took two steps:
1. 301 as above post
2. include a <base href=""> element in the head of each page.
And the "erosion" stopped.
Would this:
GET [192.168.0.1...] .................. 301 redirect to http://www.example.com/
...work if you are on a shared ip address?