Hello,
Thank you so much for getting in touch.
Please submit the unindexed URL in your Google Search Console’s URL inspection tool and share a full screenshot of the report here so we can determine what’s causing Google to not index the said URL.
You may also check for URLs in your Google Search Console and look for any coverage issues that may tell us why your website is not being indexed on the SERP. You may refer to this guide: https://support.google.com/webmasters/answer/7440203?hl=en
As for your sitemap, to ensure Google always see the updated sitemap, please follow the steps below:
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/
3. Apply the following filter code to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/
4. Lastly, remove all your sitemaps from Google Search Console and submit only the primary one (https://example.com/sitemap_index.xml
).
Hope that helps. Let us know how that goes.
The Main Sitemap does not add any URL. That’s why I added a separate sitemap for Pages and Dealstore Taxonomy. All these sitemaps are also not updating automatically when I add or change anything on the site.
URL is not on Google, but when I click on “Live Test” It shows the URL on Google. Please check the screenshot links.
Please check this rank-math PHP file coding. Is this OK?
—————-
/**
* Filter to add custom Power Words
*/
add_filter( ‘rank_math/metabox/power_words’, function( $words ){
add_filter( ‘rank_math/sitemap/enable_caching’, ‘__return_false’);
$new_words = [
‘discount’,
‘profit’,
‘conversion’,
];
return array_merge( $words, $new_words );
});
———————–
(Sitemap)
https://snipboard.io/es2xyD.jpg
(Google Index)
https://snipboard.io/LecU4R.jpg
(Live Test Result)
https://snipboard.io/1aYZ9t.jpg
Hello,
Your homepage is already showing on the SERPs upon using the site:
operator
![homepage](https://i.rankmath.com/i/PMxns5+)
Also, you have submitted multiple sitemaps to your Google Search Console account. You should remove all your submitted sitemaps and resubmit your main sitemap only /sitemap_index.xml:
https://rankmath.com/kb/submit-sitemap-to-google/
Regarding the filter, you should separate the code for your sitemap cache like this:
/**
* Filter to add custom Power Words
*/
add_filter( 'rank_math/metabox/power_words', function( $words ){
$new_words = [
'discount',
'profit',
'conversion',
];
return array_merge( $words, $new_words );
});
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Looking forward to helping you.
Still, Google is not updating my Sitemap. I removed other sitemap and kept only one main sitemap. Please see this screenshot.
https://snipboard.io/Z9AaGh.jpg
It shows 0 Discovered URL and yesterday’s updated date.
Hello,
Google has already discovered all the URLs from the sitemaps along with your main sitemap. That’s why they are showing that they haven’t discovered any URLs from your main sitemap. It should update once you publish new URLs and Google discovers them using the main sitemap. You can also check this guide to learn more about how URL discovery from sitemaps works: https://rankmath.com/kb/zero-discovered-urls-through-sitemap/
Please do not hesitate to let us know if you need our assistance with anything else.
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.