2 sitemaps

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    If you have 2 sitemaps within generated by Rank Math – there is nothing to worry about. Rank Math creates a new sitemap for each post type.

    If you are using a second SEO plugin or a Sitemap plugin though – you should disable that.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    I have 1 sitemap from rank math the normal one
    and one from the wpforo with links that they are not in rankmath sitemath.
    Rankmath see the forum like 1 link but they are about 100000 link inside maybe more in forum sitemap.

    HI there,

    Thank you for the additional info.

    I can suggest that you get in touch with the guys from WPForo and seek some advise on how to use the following filter to add the links to the Rank Math sitemap:

    /**
     Filter to add extra URLs to the XML sitemap by type.
     *
     Only runs for the first page, not on all.
     *
     @param string $content String content to add, defaults to empty.
     */
     add_action( 'rank_math/sitemap/{$type}_content', function() {
     return '         https://rankmath.com/some-custom-url/
             2020-02-20T20:20:20+00:00     
    ';
     }); 

    I hope this info helps. Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘2 sitemaps’ is closed to new replies.