Forum Moderators: open

Message Too Old, No Replies

Can I ping sitemap.xml.gz

Can I ping sitemap.xml.gz,or sitemap-index.xml?

         

maimax

6:30 pm on Nov 25, 2007 (gmt 0)

10+ Year Member



Hi

We ping the sitemap in order to notify the search engines of an update to your Sitemaps.

The URLs you can use to ping the various engines. Here they are:

Ask.com: submissions.ask.com/ping?sitemap=http%3A//www.domain.com/sitemap.xml

Google: www.google.com/webmasters/sitemaps/ping?sitemap=http:%3A//www.domain.com/sitemap.xml

Yahoo: search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=YahooDemo&url=http://www.domain.com/sitemap.xml

Can I ping sitemap.xml.gz,or sitemap-index.xml?

Ask.com: submissions.ask.com/ping?sitemap=http%3A//www.domain.com/sitemap.xml.gz

Google: www.google.com/webmasters/sitemaps/ping?sitemap=http:%3A//www.domain.com/sitemap.xml.gz

Yahoo: search.yahooapis.com/SiteExplorerService/V1/updateNotification?appid=YahooDemo&url=http://www.domain.com/sitemap.xml.gz

[edited by: caveman at 5:38 am (utc) on Nov. 26, 2007]
[edit reason] Delinked links. [/edit]

jdMorgan

6:47 pm on Nov 25, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The usual approach to sending gz files is this:

Look at the HTTP "Accept-Encoding" request header sent by the client to your server. If it contains "gzip", then instead of sending "sitemap.xml" you can send sitemap.xml.gz (or sitemap.gz, as the case may be).

This can be accomplished by internally rewriting the requested URL sitemap.xml to either file depending on the accept-encoding header using Apache mod_rewrite or ISAPI Rewrite on IIS, or by using a script to "include" and serve one or the other file.

Jim