• Resolved Maya

    (@tdgu)


    We developed the WP Multi Domain plugin, that helps to sell WooCommerce products across multiple domains. Some of the product can be visible only on specific shops.
    Now, the problem is, when using Rank Math SEO, the sitemap includes all products. Unfortunate there is no filter we can use to exclude specific objects in the sitemap. Specifically, at file /includes/modules/sitemap/providers/class-post-type.php at function get_posts your code run a custom MySQL query, but there is no filter anywhere. Maybe you can add one for$posts variable, right after it retrieves the $wpdb results?

    Thanks

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Exclude objects from sitemap’ is closed to new replies.