Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Google News Sitemap #88

Open
deeveearr opened this issue Jul 7, 2024 · 5 comments
Open

The Google News Sitemap #88

deeveearr opened this issue Jul 7, 2024 · 5 comments

Comments

@deeveearr
Copy link

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
Copy link
Author

For example:
Screenshot 2024-07-07 082320

@sybrew
Copy link
Owner

sybrew commented Jul 7, 2024

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
Copy link
Author

deeveearr commented Jul 7, 2024

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
Copy link
Author

...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
Copy link
Owner

sybrew commented Jul 8, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants