The ping to Google doesn’t supply it with an IP at all. It sends it the URL of the sitemap for Google to read. It basically just makes a single HTTP GET request to this URL:
www.google.com/webmasters/tools/ping?sitemap=http%3A%2F%2Fwww.example.com%2Fsitemap.gz
Only it uses your sitemap URL instead. The sitemap URL is url-encoded, obviously.
I didn’t meant that IP address is supplied through the HTTP GET. I meant that Google for sure traces from which IP address the HTTP GET came from. That worries me.
I am almost sure that google sitemap plugin makes ping from the server’s IP address. I’ll be happy if it used the curl library to change that IP address to the domain’s one…
Ah, I see what you’re getting at. Well, the HTTP GET itself does not supply an originating IP address, however you’re correct in that the connection must come from somewhere.
However, given the number of shared servers out there, I doubt it’s any sort of big deal. My website is on a server with about 100-200 other websites, and they all use the same IP address. Google certainly doesn’t think I own all those. In point of fact, GoDaddy owns the server.
Also, using CURL isn’t going to help matters. You cannot specify the originating IP at that high a level. The TCP connection happens outside that, down in the network layer. Your high level code has no control over that.
You cannot specify the originating IP at that high a level. The TCP connection happens outside that, down in the network layer. Your high level code has no control over that.
Ok, but I am not so sure about that. If you have any web page where you can test your IP at those ‘High Levels’, then I can make you PHP script that will supply any IP address you want for that test, so you can see for yourself…
Thank you for your replys 🙂
Ok, but I am not so sure about that.
That’s okay, because fortunately, I am sure about that. You have to mess around with your routing or spoof packets to change your IP address. That’s not something accessible to PHP code unless you’re exec’ing some kind of lower level code. I mean, yes, you can probably fake out Apache’s REMOTE_ADDR or the PROXY variables somehow, but that’s not the same thing as what I’m talking about.
This may be considered off topic but I hope not. I am looking for the way to notify Google when a post is added to my blogs. I have done a search but thus far have not found anything.
Your help will be much appreciated.
rickblackmon, one way to let google know about new stuff is to implement “sitemap.xml”. See: https://www.google.com/webmasters/tools/docs/en/protocol.html
I’m sure there are wordpress plugins that help with this.
crmagicxxx what your hiding from google ? page rank hacks ? get in line like everybody else !