Friday, November 23, 2012

linux apache2 sitemap.xml.gz error

i found that sitemap.xml.gz is compressed in twice.

sitemap.xml.gz被压缩两次.

from sitemap.xml 9816K –> sitemap.xml.gz 165k –> sitemap.xml.gz 9k.

And i very like this comress effector, if they have no error.

old code is:

Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Headers X-Requested-With
<ifmodule mod_deflate.c>
AddOutputFilter DEFLATE html htm xml js css
</ifmodule>

 


new code is:

Header set Access-Control-Allow-Origin *
Header set Access-Control-Allow-Headers X-Requested-With
<ifmodule mod_deflate.c>
SetEnvIfNoCase Request_URI ".xml.gz$" no-gzip dont-vary
AddOutputFilter DEFLATE html htm xml js css
</ifmodule>




other problem is when i submit sitemap to seo,


only yahoo said to me:

The following errors were detected: limit exceeded



yahoo said: http://developer.yahoo.com/search/rate.html

The service limits are expressed in API calls per 24 hour period. You can think of this as a day, however the clock does not reset itself at midnight. Instead, we begin counting the first time we see an API call from the IP. Then 24 hours later, we reset the counters for your IP address.



and here:


How to Submit a Sitemap to Yahoo!:http://webdesign.about.com/od/sitemaps/ht/submit_sitemap_yahoo.htm


goto Bing Webmaster Tools:http://www.bing.com/toolbox/webmaster


下一篇,我将介绍如何手动添加站点地图到雅虎和微软的搜索引擎bing网站管理员后台工具.

No comments: