Not creating product_cat-sitemap
-
Hi, whatever I do I can’t get Rank Math to make a product_cat-sitemap.xml page. My dev site is making it, but not the live one. The settings are identical.
The page I need help with: [log in to see the link]
-
Hello @monoloid,
Thank you for contacting Rank Math support.
Thehttps://www.poker.no/product_cat-sitemap.xmlis working fine. However, it isn’t being included in the main sitemap. Please make sure that you have enabled the Include in Sitemap option in WP Dashboard > Rank Math SEO > Sitemap Settings > Product Categories.
Let us know how that goes. Looking forward to helping you.Thanks, but the setting is on. I’ve tried off and on, and the flushing trick. No change.
Hello @monoloid,
In this case, please try to follow the steps below and see if that works for you:
1. Flush the Sitemap cache again 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. If the above steps don’t seem to work, kindly apply the following filter to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how it goes. Looking forward to helping you.
Thank you.
Thanks, but already tried all of that (sorry I forgot to mention it).
Hello @monoloid,
Please make sure that you remove any XML files from the pathwp-content/uploads/rank-mathand test the sitemap once again.
Thank you.Thanks, it didn’t help, but it made me find the Sitemap Rewrite Rules trick which fixed it. A funny thing is that the sitemap pages are blank when I’m logged in, but available in inkognito mode.
It’s also strange that the product_cat-sitemap.xml page is now available with direct link, but not listed on the sitemap_index.xml page. Will that mean that the search engines won’t look for it?Also, the https://www.poker.no/category-sitemap.xml page is being redirected to https://www.poker.no/kategori/-sitemap.xml which gives a 404.
Hello @monoloid,
Our plugin shouldn’t redirect the sitemaps to another page.
There may be some other plugins that are causing the redirection. To determine that, please follow this guide: https://rankmath.com/kb/check-plugin-conflicts/
Only the site admin would know and your users won’t be affected by this troubleshooting.
Let us know how that goes.OK, I’ll look into it.
product_cat-sitemap.xml is being generated but not listed in the sitemap. Thus it isn’t read by Google Search Control. Any idea how to fix that?Hello @monoloid,
Please check your product category post type as it should be set to index.
Head over to Rank Math > Titles & Meta > Product Categories > Robots Meta and set it to index.
Let us know how this goes.Thanks, but it is set to index. I’ve tried to turn it off and on but no change.
Hello @monoloid,
In that case, our developers will have to check this further on your site. Please open a topic in our forum so our developers can take a closer look at the settings of our plugin: https://rankmath.com/support/
Looking forward to helping you.
The topic ‘Not creating product_cat-sitemap’ is closed to new replies.