Hello,
I apologize for the inconvenience you are facing with the prices being included in the Google index. To avoid displaying price data in the sitemap file that Google receives, you can follow these steps:
-
Exclude Price Data from Sitemap:
- Go to your WordPress Dashboard.
- Navigate to Rank Math SEO > Sitemap Settings.
- Look for the settings related to WooCommerce products in the sitemap.
- Disable the option that includes price data in the sitemap.
-
Update Sitemap Settings:
- Ensure that the option to include prices in the sitemap is disabled.
- Save the changes to update the sitemap settings.
If you need further assistance or detailed guidance on adjusting the sitemap settings, please let us know by replying to this ticket. Thank you for bringing this concern to our attention.
Kind regards.
Sources:
How to Configure Sitemaps in Rank Math – Best Settings and Tips
Resolving Rank Math Schema Markup Related Issues
Rank Math Sitemap Issues and Their Fixes » Rank Math
Why Did My Website Disappear From Google Search? » Rank Math
Hello,
The price is coming from the product schema of that URL, and not in the sitemap.
Yes, it is possible to remove certain properties from the product schema. You can use and customize the following code to your site to remove the price:
/**
* Filter to Short-circuit Schema if a 3rd party is interested in generating their own data.
* Replace $schmea_type with schema name like article, review, etc.
* @param array $entity Snippet Data
* @return array
*/
add_filter( "rank_math/snippet/rich_snippet_product_entity", function( $entity ) {
unset($entity['offers']['price']);
return $entity;
});
Here’s a guide to adding the code to the website:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
However, please note that Price is a required field in the Product schema, and removing it might have negative consequences on your SERP listings.
If you’re doing it, you might get an error in the Schema for the missing price.
Hope that helps.
Hi Reinelle.
Great, thanks for a quick solution.
However I have also just discoverd that the price are added as a meta for the product
<meta name=”twitter:label1″ content=”Pris” />
<meta name=”twitter:data1″ content=”84,00 kr.” />
Can I remove this to?
Hello,
Yes, if want to remove those meta tags, you can disable the option Slack Enhanced Sharing from your WordPress Dashboard > Rank Math > Titles & Meta > Product

Looking forward to helping 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.