为博客发布站点地图是不是一个坏主意?
我有一个博客,我一直在考虑为其发布 XML 站点地图,其中包括索引页、档案页面以及每个博客文章的条目。这是一个坏主意吗?这是一个好(或有用)的想法吗?我对
元素特别感兴趣:我时常编辑帖子,虽然这种情况并不常见,但我不想设置一个特别不频繁的更改频率,以免阻止 Google 等搜索引擎对编辑内容建立索引。 (XML 站点地图协议表示搜索引擎可能仍会更频繁地抓取页面,但没有提供有关此事的更多详细信息。)
I have a blog, and I have been considering publishing an XML sitemap for it, which would include the index page, archives page, and an entry for each individual blog post. Is this ever a bad idea? Is it a good (or useful) idea? I'm particularly interested in the <changefreq>
element: I edit posts from time to time, and while that's not a common occurrence, I don't want to set a particularly infrequent change frequency that prevents search engines like Google from indexing the edits. (The XML sitemaps protocol says that search engines may still crawl the pages more frequently, but has no further details on the matter.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
发布 XML 站点地图几乎总是个好主意。
如果您的网络托管可以处理来自搜索引擎的合理抓取率,您可以省略 changeFreq 元素并接受默认值。如果您已经被抓取,那么您现在应该已经注意到任何问题。
将站点地图添加到 Google 网站管理员工具中,您将能够检查是否存在任何抓取问题、无法访问的页面、404 等。非常有用。
我能想到的不添加 XML 站点地图的唯一原因是您的站点包含大量重复内容、损坏的链接、空页面或被黑的页面。首先解决这些问题,然后提交站点地图。
It's almost always good idea to publish an XML sitemap.
You can leave out the changeFreq element and accept the default if your web hosting can handle a reasonable crawl rate from the search engines. If you're already being crawled, you should have noticed any problems by now.
Add your sitemap to Google webmaster tools and you'll be able to check for any crawl problems, unreachable pages, 404s etc. Very useful.
The only reasons I can think of for not adding an XML sitemap are if your site contains a lot of duplicate content, broken links, empty or hacked pages. Fix those issues first, then submit a sitemap.
我有带有站点地图的网站和没有站点地图的网站。我看不出 SEO 有什么真正的区别。 Google 似乎独立于changeFreq 来决定最佳频率,因此它几乎不重要。 google站长工具中有一个设置,可以让爬虫访问整个网站。
当我使用站点地图(Wordpress 插件)时,我使用 ChangeFreq 的默认设置:
每日 - 用于博客页面和博客文章。
每周 - 用于类别、静态页面。
始终 - 用于主页。
I have web sites with sitemap and sites without sitemap. I can't see any real difference in SEO. Google seems to decide the optimal frequency independently of changeFreq so it is almost of no importance. There is a setting in google webmaster tools for crawler visits on the entire site.
When I use sitemap (Wordpress Plugin) i use default settings for changeFreq that are:
daily - for blog page and blog posts.
weekly - for categories, static pages.
always - for main page.
我在所有博客上都使用 XML 站点地图。如果您使用的是 Wordpress,此插件将为您完成所有工作:http:// /wordpress.org/extend/plugins/google-sitemap-generator/
每次您发布或更新帖子时,它都会生成新的站点地图。
I use XML sitemaps on all of my blogs. If you are using Wordpress this plug-in does all the work for you: http://wordpress.org/extend/plugins/google-sitemap-generator/
It will generate new sitemaps every time you publish or update a post.