• Resolved jennifersanchez

    (@jennifersanchez)


    Hi! I am using this hook to add page to sitemaps, in my custom code I add activities of buddypress.
    but it happens to me that when I add a new one it replaces the old one. Any example that can apply? Thank you!!

    `add_action( ‘rank_math/sitemap/{$type}_content’, function() {
    return ‘<url>
    <loc>https://rankmath.com/some-custom-url/</loc&gt;
    <lastmod>2020-06-10T20:20:20+00:00</lastmod>
    </url>’;
    })

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add custom url to sitemaps’ is closed to new replies.