-
I disabled the product tag from the sitemap, and it still appears in the sitemap
-
Hello,
We apologize for the issue you are facing with the product tags still appearing in your sitemap despite disabling them. This can sometimes happen due to caching or plugin conflicts. Here are a few steps you can take to troubleshoot this issue:
-
Clear Cache: If you are using any caching plugins, clear the cache to ensure that the latest sitemap settings are reflected.
-
Check for Plugin Conflicts: Use the Health Check plugin to identify if there are any conflicts with other plugins that might be affecting the sitemap.
-
Recheck Settings: Go back to your Rank Math settings and ensure that the option to include product tags in the sitemap is indeed disabled. Sometimes, settings may not save correctly.
-
Custom Code: If the issue persists, you might need to add a custom code snippet to your theme’s
rank-math.php
file to disable caching for the sitemap:add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
This will ensure that the sitemap is generated fresh each time.
If these steps do not resolve the issue, please reply to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank MathThis is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
Please try to follow the steps below and see if that works for you:
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp2. 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/Once done, clear your website cache, remove all the submitted sitemap, and resubmit only the
/sitemap_index.xml
in the Search Console.Let us know how it goes. Looking forward to helping you.
eu nao entendi muito bem o passo 2, ytem algum video?
no worked
Hello,
The product tag sitemap is no longer included in your sitemap index
Please clear your website and browser’s cache if it’s still showing.
Looking forward to helping you.
it didn’t work, I put a filter for that. without the filter it doesn’t work
add_filter( ‘rank_math/sitemap/enable_caching’, ‘__return_false’ );
Hello,
We checked your sitemap and can confirm that it is updated: https://shopdoacademico.com.br/sitemap_index.xml
Please try clearing your website and browser caching again. Including any server-level caching services you might have.
You may also try visiting the sitemap using a different browser or an incognito tab.
Let us know how that goes. Looking forward to helping you.
se conseguir verificar em tempo real eu tiro o filtro e você verifica novamente. voce vai ver que ainda esta la.
Hello,
This indicates that your website is getting cache and you should continue using the filter to disable the cache.
Let us know how it goes. Looking forward to helping you.
Thank you.
no worked. please helpe me
No work on it Read more
quem e tomas no meu ticket?
Hello,
We released a quick Beta update you can try to see if that helps.
Please enable the Beta update by following this:
https://rankmath.com/kb/version-control/#beta-updatesIf you are unable to see an update, please clear Rank Math’s transients from:
WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients > Remove transients
Please clear the caches, server, and WordPress after updating.
You can then flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDpYou can disable the Beta updates once you update to the latest version and if the issue is fixed.
We are here to assist. Thank you.
-
You must be logged in to reply to this ticket.