将网站地图从django更新为Google网站管理员不起作用

问题描述:

我们的网站几乎每天都会更新。每次添加新页面时,我们都需要将网站地图更新为Google网站管理员。将网站地图从django更新为Google网站管理员不起作用

我们尝试使用ping_google()以及所需的一组参数和谷歌,它似乎从未更新网站管理员的网站地图。记录响应,我们重新写的功能,并记录下面给出的回应:

2010-10-01 09:00:02,489 DEBUG Sitemap Response: <html><meta http-equiv="content-type" content="text/html; charset=UTF-8"> 
<head><title>Google Webmaster Tools 
- 
Sitemap Notification Received</title> 
<meta name="robots" content="noindex, noodp"> 
<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"> 
    </script> 
<script type="text/javascript"> 
    _uacct="UA-18009-2"; 
    _utcp="/webmasters/"; 
    _uanchor=1; 
    urchinTracker(); 
    </script></head> 
<body><h2>Sitemap Notification Received</h2> 
<br> 
Your Sitemap has been successfully added to our list of Sitemaps to crawl. If this is the first time you are notifying Google about this Sitemap, please add it via <a href="http://www.google.com/webmasters/tools/">http://www.google.com/webmasters/tools/</a> so you can track its status. Please note that we do not add all submitted URLs to our index, and we cannot make any predictions or guarantees about when or if they will appear.</body></html> 

的反应似乎已经很好了。但网站地图永远不会更新网站管理员。我们正在使用django 1.1。除了ping_google()

以外的网站管理员是否可以选择更新站点地图?您可以将链接发布到您的站点地图文件。

如果您已经为网站地图中的大部分网址设置了优先级,谷歌可能会认为这是一种垃圾邮件,并且不会去下载网站地图。

另请检查站点地图中的更改频率。

如果您的网站地图很好,内容真的每天都在变化,即使您不ping通,Google也会自动下载它。