sybrew / The-SEO-Framework-Extension-Manager

A WordPress plugin that manages extensions for The SEO Framework.
https://tsf.fyi/em
GNU General Public License v3.0
77 stars 8 forks source link

The Google News Sitemap #88

Open deeveearr opened 2 months ago

deeveearr commented 2 months ago

Hi, I've just tried launching a Google News sitemap, however on the search console, the sitemap will not be accepted, and says that there is a Missing XML tag: Line 4 Parent tag: Tag: urlset URL ... and I'm being told to resubmit the sitemap with all of the errors corrected.

How do I correct these errors?

deeveearr commented 2 months ago

For example: Screenshot 2024-07-07 082320

sybrew commented 2 months ago

Hello!

Could you please answer a few questions? With these, I can better assist you:

  1. Is the sitemap populated?
  2. Are there new posts tagged with "NewsArticle"?
  3. What's the full URL of the sitemap?
deeveearr commented 2 months ago

Hi sybrew,

1) I added a couple of posts this morning in order to populate the sitemap. 2) the posts are tagged with 'Blog Posting'. 3) the full URL of the news sitemap is: https://midlandsmaidens.com/sitemap-news.xml

Looking at your reply above, it looks like I should tag the posts with 'News Article' rather than 'Blog Posting'.

I've got a couple of new posts to add, so I'll change all posts to News Article for the rest.

edit

I've just updated all posts, pages and custom post types to 'News Article' and also saved the permalinks to 'Post Name'

deeveearr commented 2 months ago

...and as if by magic, this has just appeared: Screenshot 2024-07-07 114846

Together with this in the search console (after re-submission) Screenshot 2024-07-07 115242

Thanks, sybrew!

sybrew commented 2 months ago

Awesome :) I'm glad that did the trick.

Please note that Google News sitemap is meant for Google News publishers. See https://publishercenter.google.com/.

They require you to adhere to certain content policies; see https://support.google.com/news/publisher-center/answer/6204050.