How To Add custom sitemap in sitemap-index Yoast Seo

How To Add custom sitemap in sitemap-index Yoast Seo, berikut ini adalah cara untuk menambahkan sitemap kedalam sitemap_index.xml by yoast.

I need to do this because I create a custom taxonomy with the permalink is not possible to create a rule, but I need to get all my Post and than create a sitemap.

Tutorial

1. Create Function to add external sitemap, click here
How To Add custom sitemap in sitemap-index Yoast Seo
Add function

2. Find wpseo-functions.php wordpress-seo\inc\wpseo-functions.php, 
3. And paste like this + save , u can using this plugin to edit File Manager Author: mndpsingh287


Source:
https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-include-subsites-in-main-blogs-sitemap-on-multisite-network/#post-2956484
https://wordpress.org/support/topic/add-custom-sitemap-in-sitemap-index/
Load disqus comments

0 komentar