wordpress - Google News sitemap -


i run cricket website, built in wordpress, has been accepted in google news need submit xml sitemap via webmaster tools articles appearing.

i have created simple sitemap (see code below) hope trick question is:

** upload in file directory?**

simple enough think many seem use plugins generate sitemaps wordpress sites , edit files.

the outcome want is: http://cricketyorkshire.com/newssitemap.xml

thanks!

--

<?xml version="1.0" encoding="utf-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"         xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">   <url>     <loc>http://www.example.org/business/article55.html</loc>     <news:news>       <news:publication>         <news:name>cricket yorkshire</news:name>         <news:language>en</news:language>       </news:publication>       <news:genres>pressrelease, blog</news:genres>       <news:publication_date>2015/07/16</news:publication_date>       <news:title>how month of ramadan affect cricketers? </news:title>       <news:keywords>cricket, ramadan, religion, sports, yorkshire</news:keywords>       </news:news>   </url> </urlset> 

the sitemap can anywhere on site, doesn't matter, convenient place root of site, next wp-config.php others suggested.

google news sitemaps should updated every single time publish article, otherwise doesn't make sense have it. moreover, if don't submit up-to-date sitemap, have hard time discovering content, , might not able discover them @ if don't have numbers in urls (that don't resemble date)

display three-digit number. url each article must contain unique number consisting of @ least 3 digits. example, can't crawl article url: http://www.google.com/news/article23.html. can, however, crawl article url: http://www.google.com/news/article234.html. keep in mind if number in article consists of isolated four-digit number starts 199 or 200, won't able crawl it. please note rule waived news sitemaps.

if you're using wordpress can install plugin generate sitemap you, created such plugin, works great many people. see google news sitemap related plugins, see https://wordpress.org/plugins/search.php?type=term&q=google+news+sitemap


Comments