Support » Plugin: Jetpack - WP Security, Backup, Speed, & Growth » Jetpack Sitemap multilanguage site

  • Resolved nosaint

    (@nosaint)


    When generating the sitemaps, Jetpack is ignoring the 2nd language of the website.
    Even if it sees the post title in a different language, the link submitted to the search engines is the same (primary language)

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support supernovia

    (@supernovia)

    Hi there @nosaint — could you confirm what you’re using for the multiple languages, and do you know whether they support Jetpack sitemaps?

    Thread Starter nosaint

    (@nosaint)

    I am using WPML and they say their plugin is compatible with Jetpack.
    Please excuse my ignorance, how is this related to the WPML plugin?
    No matter the language of the post, each post has a unique ID, right? Jetpack Sitemaps sees the posts as being different, sees the posts having different titles but it submits the same URL in the sitemap.
    https://calleochonews.com/news-sitemap.xml

    Plugin Support supernovia

    (@supernovia)

    Hi @nosaint, thanks. Yes, the translation plugin matters.

    I believe you may be seeing this issue:
    https://wpml.org/forums/topic/my-xml-site-map-shows-double-content-the-urls-shows-same-language/

    It says it’s “resolved” and I’m not sure if they mean “use something else” or that they actually fixed the issue, but would you be willing to reach out to them?

    Thread Starter nosaint

    (@nosaint)

    The solution for that 2018 problem was to use Yoast. I don’t consider it to be a solution for Jetpack 🙂

    So if a plugin like Yoast can see the difference when WPML is used, I was hoping Jetpack can also do it.

    Plugin Support jerrysarcastic

    (@jerrysarcastic)

    Due to the way that WPML creates secondary language content, it does not seem they store any language data on your site’s MySQL database, which is the data that Jetpack queries when creating your sitemap.

    Because of this, we see two copies of each post and page but are not able to detect the language of those entries. This is not something we can easily address on our end, and would require a change to the way in which WPML stores language data in the database.

    Did you reach out to WPML support to see what they recommend?

    Thread Starter nosaint

    (@nosaint)

    Thank you Jerry, I will contact WPML and get back after

    Thread Starter nosaint

    (@nosaint)

    Their reply is that since it works well with Yoast (and Yoast can generate the sitemaps properly), it means their plugin is OK and it is a Jetpack problem.

    When I asked them it would be better for their team to contact Jetpack team to sort things out their reply was “If they don’t want to cooperate with us there is little we can do”.

    I also have to add that the problem is not seen in the regular sitemap generated by Jetpack (there, Jetpack sees the /es/ for the Spanish language articles generating the right URL) but only in news-sitemap.xml where it doesn’t.

    Plugin Contributor James Huff

    (@macmanx)

    Volunteer Moderator

    Hm, interesting. Does it work with the new built-in sitemaps introduced in WordPress 5.5?

    That’s at /wp-sitemap.xml but you’ll need to deactivate our sitemap module for that to work.

    If WordPress’s built-in sitemap works with WPML too, would you please file this bug at https://github.com/Automattic/jetpack/issues/new?template=bug_report.md ? (that way you’ll get some credit when it’s addressed)

    Thread Starter nosaint

    (@nosaint)

    Hi James,
    In the default WP sitemap (wp-sitemap.xml) the second language is not seen.
    I guess now you will say… well… it means it’s WPML’s fault 🙂
    I will contact WPML to point this out to them but meanwhile, I’d like to ask the Jetpack team to take a look at Jetpack’s sitemaps, since sitemap.xml is showing the right URLs for the 2nd language but the news-sitemap.xml shows the same URL even if it shows 2 different posts (by title)

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Jetpack Sitemap multilanguage site’ is closed to new replies.