WordPress.org

Forums

XML Sitemap & Google News feeds
[resolved] Display just one language in news sitemap (3 posts)

  1. pohui
    Member
    Posted 1 year ago #

    I'm glad that the plugin has Polylang compatibility, but the problem is that I don't want one of my languages, Romanian, to be included in the news sitemap, as Google News doesn't support it yet.

    Is there anything I can do to include just the English posts?

    Thanks a lot!

    https://wordpress.org/plugins/xml-sitemap-feed/

  2. RavanH
    Member
    Plugin Author

    Posted 1 year ago #

    Hi pohui, there is no such option in the plugin (yet) but you might try this: go to your news sitemap and append the URL with ?lang=en and hit enter.

    If the news sitemap now only shows English posts, then submit this complete URL (including the query string) to Google News.

  3. pohui
    Member
    Posted 1 year ago #

    Seems to be working. Thanks a lot, great plugin!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic