Adding filtering pages to the sitemap

[ad_1]

Hi @andrey32

The fitler wpseo_sitemap_index is used to create additional/custom XML sitemap strings to the XML sitemap index. You can find the filters and example code from here. If you are trying to add extra product category pages, that should be listed under product_cat-sitemap.xml

Custom code:

I understand you are trying to add custom code in your site. Your question is a bit outside the scope of our support. The support team is here to help you with questions about the setup and basic use of the plugin. As much as we’d love to help, is beyond what we can do for our users.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer