Hello,
Thanks for getting in touch and sorry for any inconveniences caused by that.
Could you please check the following:
1. Is the sitemap working fine in your browser? You can check that by going domain(.)com/sitemap_index.xml
If the sitemap is working fine, you can try validating it on this link: https://www.xml-sitemaps.com/validate-xml-sitemap.html
If the validation works, please make sure you have cleared the cache and excluded your sitemap URLs from being cached.
You should also ensure to submit your main sitemap(sitemap_index.xml
) on your GSC so that it can be updated.
Looking forward to helping you.
Hi,
Thanks for answering but you did not answer the questions I aked. so I will put them in a different format, also I can see the sitemap with no problem in my browser and equallay add it to my GSC.
1. Does RM update the sitemap automatically when either new content (pages and posts)is added and when a new listing is added to the directory, this does not appear as content but as as a link from one page .
2. Does RM inform Google that there is something new.
3. I use Sitebulb as my auditing tool which provides a number of SEO facilities one of which is to create a sitemap containing every page and dynamically created items which are formed from the internal links on the directory listing page. These number about 1500 currently and it is imperative that Google is made aware of them. The RM sitemap just seems to list the 9 pages that are marked as index/follow on the main site with no indication of all the rest
4. I like RM in preference to Yoast and All in One SEO and its ability to fine tune so much but it does have some issues that are problematic apart from the sitemap. For example the dynamic detail view of each directory listing changes the title to include the business name as the first item, when RM is activated that function is suppressed which nearly resulted in my going back to Yoast where it actually works.
Regards,
Richard M
Hello,
Thank you for the follow up:
1. For any posts/pages that are set to be included in the sitemap, the sitemap should be automatically updated if a new post is created. If this is not so on your site, it is likely your sitemap is being cached. Please exclude your sitemap URLs from being cached and add the following to your active them functions.php:
/**
* Filter if XML sitemap transient cache is enabled.
*
* @param boolean $unsigned Enable cache or not, defaults to true
*/
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
2. Rank math sitemap settings are set to automatically ping Search engines when the sitemaps are updated. You can confirm that in Rank math > Sitemap settings
3. Rank math adds to the sitemap only the URLs marked to index. For your other URLs you can use this filter to add URLs to the sitemap:https://rankmath.com/kb/filters-hooks-api-developer/#add-extra-urls-in-sitemap
4. You can change the title settings of your listings in Rank math > Titles & Meta under your listing tab.
Looking forward to helping you. 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.