Support » Plugin: Rank Math SEO - Best SEO Plugin for WordPress » Add sitemaps to sitemap indes

  • Resolved Carlos Longarela

    (@carloslongarela)


    Hi, I’d like to add several sitemaps to sitemap index (/sitemap_index.xml), before, with YOAST I used filter wpseo_sitemap_index now I see rank_math/sitemap/{$type}_content but I don’t know the correct type and also seems to be only to add URLs to a sitemap and I’d like to add sitemaps.

    Can you tell me about the correct filter?

    Thanks in advance.

    Best regards, Carlos Longarela.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Carlos Longarela

    (@carloslongarela)

    Hi, after a search in the plugin code, I found the filter:

    add_filter( 'rank_math/sitemap/index', 'my_function_2_add_sitemaps_2_index_sitemap' );

    I’ll mark this post as resolved, but is it possible that one admin changes the title to fix the mistake? (change indes by index). Thanks in advance.

    Kindly regards, Carlos Longarela.

    Plugin Author Rank Math

    (@rankmath)

    Hello

    Thank you for contacting the support and glad you found the solution.

    We will add the filter on our website here:
    https://rankmath.com/kb/filters-hooks-api-developer/

    Appreciate the help.

    If you need any other assistance, please let us know. We are here to help.

    Good day.

    Thread Starter Carlos Longarela

    (@carloslongarela)

    Thanks a lot, can you change this post title from “Add sitemaps to sitemap indes” to “Add sitemaps to sitemap index”?

    Thanks in advance.

    Kindly regards, Carlos Longarela.

    Plugin Author Rank Math

    (@rankmath)

    Hello @carloslongarela

    Sorry to disappoint but we cannot do that.

    You can either edit your first post and see if you can edit the title as well, otherwise, you can report this topic to the moderators and they can help you further:
    https://i.rankmath.com/SSLy77

    Hope that helps. Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add sitemaps to sitemap indes’ is closed to new replies.