问题原文
原帖链接 · Nrc · CC BY-SA 3.0
In the sitemap.xml should I have a link to the rss.xml?
<url>
<loc>https://www.example.com/rss.xml</loc>
<lastmod>2017-02-24</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
已采纳解答
原帖链接 · Stephen Ostermiller · CC BY-SA 3.0
Google doesn't typically index RSS feeds or show them in search results. You don't need to tell Google about the RSS feed in your sitemap to get it indexed.
Your sitemap should contain all the URLs that are listed in your RSS feed. If your RSS feed contains content that can't be included in your sitemap, you could list your RSS feed in the sitemap so that Google crawls everything. In most cases, that shouldn't be needed.
Your RSS feed isn't really a page on your site. One use of sitmaps is seeing how many pages you have on your site and how many of those are indexed. Your RSS feed is just going to be noise for this purpose.
Google does alert you in search console when pages listed in the sitemap return error status. If you want that alert for the sitemap, that would be a reason to include it.
Most webmasters don't list the RSS feed in their sitemap. I wouldn't do so myself, but there are a couple scenarios in which it could be beneficial.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
