

For details, see the Google Developers Site Policies.
Googlesitemap how to#
Learn how to combine sitemap extensionsĮxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License.Want to learn more? Check out the following resources: Don't include the author name, publication name, or publication Include the title of the article as itĪppears on your site. Tip: Google may shorten the title of the news article for space reasons whenĭisplaying the article on various devices.
Googlesitemap plus#
Google accepts any of the following formats:Ĭomplete date plus hours, minutes, and seconds:Ĭomplete date plus hours, minutes, seconds, and a decimal fraction of a second: Don't specify the time when you added the Specify the original date and time when theĪrticle was first published on your site. Hours, minutes, and seconds" format with time zone designator format Use anĮxception: For Simplified Chinese, use zh-cn and for TraditionalĮither the "complete date" format ( YYYY-MM-DD) or the "complete date plus The tag is the language of your publication. It mustĮxactly match the name as it appears on your articles on The tag is the name of the news publication. Split your sitemap into several smaller sitemaps. Sitemap tag can have only one news:news tag (plus the respective closing tag)Īnd a sitemap may have up to 1,000 news:news tags. The parent tag of other tags in the news: namespace. To make sure Google can use your news sitemap, you must use the following required tags: The news tags are defined in the news sitemap namespace: The following example shows a regular sitemap with news extension. Problems with Google Search if the file is empty. You may see an Empty Sitemap warning in Search Console,īut this is just to make sure it was intentional on your behalf. XML sitemaps enable you to quickly and easily notify search engines about all the pages in your website and any changes. Compatible with major search engines including Google, Bing, Baidu, Yandex and more. Your sitemap becomes empty for a period of time (for example, if you haven't publishedĪrticles in the last few days). Easily generate HTML, RSS and Google XML sitemaps for free. If you choose the method of removing old URLs from your news sitemap, this could mean that In the index for the regular 30-day period. Once theĪrticles are older than two days, either remove those URLs from the news sitemap or remove Only include recent URLs for articles that were created in the last two days. Google News crawls news sitemaps as often as it crawls the rest of your
Googlesitemap update#
Update your news sitemap with fresh articles as they're published. News sitemaps are based on traditional sitemaps, so the Specific tags, or create a separate news sitemap that's reserved just for your news articles.Įither option is fine with Google, however creating a separate sitemap just for your newsĪrticles may enable better tracking of your content in Search via Search Console. You can either extend your existing sitemap with news If you are a news publisher, use news sitemaps to tell Google about your news articles andĪdditional information about them.
