Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
The “no referring sitemap detected” means the page has been discovered by Google, and Google knows about it.
Please note that a sitemap is only one of many ways Google discovers the URLs of your site. If Google discovers the URL through other means, it may not cross-reference your sitemap to check if the URL is there. Hence the “No referring sitemaps” message.
Regarding the non-inclusion of several URLs into the sitemap, please first confirm that those posts or pages have not been set to noindex. If they are set to noindex, change them to index flush the Sitemap cache by following Step 1 below.
If this is not the case and you have already the done following steps:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article: https://rankmath.com/kb/exclude-sitemaps-from-caching/
And the issue still persists then try disabling the transient cache for the sitemap.
This will make sure that your XML sitemap always reflects the latest changes on your site. To do this, you need to add a small piece of code to your site’s functions.php file or use a plugin like Code Snippets.
The code you need to add is this:
/**
* 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');
If you’re not sure how to add this code, you can follow this guide: https://rankmath.com/kb/wordpress-hooks-actions-filters/. It will show you step-by-step how to use the Code Snippets plugin or edit the functions.php file safely.
After you add the code, please clear any cache on your site or server and check your XML sitemap again. If you’re still facing issues with the sitemap, please let us know – we are happy to investigate further.
Orphaned pages and posts are pages on your site disconnected from other pages and posts. Ideally, every aspect of your site should be reachable from the home page by a series of connecting pages. You can consider linking those orphaned pages with relevant content or for posts or products you can create categories and subcategories as required where the individual posts or products will be referenced.
Hope this helps and please don’t hesitate to let us know if you have any other questions.
Thanks.