sitemap error

#1047389
  • Hello.
    RankMeth on my site does not create any sitemaps for my products, no sitemaps for my videos, and no sitemaps for my audios and podcasts, and all my settings are correct, and this has created a very big problem for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,

    We apologize for the issue you are facing with the Rank Math plugin not creating sitemaps for your products, videos, audios, and podcasts. This can indeed be a significant problem for your site’s SEO.

    Here are a few steps you can take to troubleshoot this issue:

    1. Flush Permalinks: Sometimes, simply flushing the permalinks can resolve sitemap issues. Go to your WordPress admin area, navigate to Settings → Permalinks, and hit the “Save Changes” button without making any changes.
      Flush permalink settings

    2. Check Sitemap Settings: Ensure that all post types (products, videos, audios, podcasts) are enabled in the Rank Math Sitemap settings. You can check this by going to Rank Math SEO → Sitemap Settings.

    3. Check for Plugin Conflicts: Sometimes other plugins can conflict with Rank Math. You can use the Health Check plugin to identify any potential conflicts.

    4. Content Availability: Ensure that there is content available for these post types. If there are no products or posts published, the sitemap will not generate entries for them.

    If you have tried these steps and the issue persists, we recommend replying 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, and we hope to resolve it quickly for you!

    Hello,

    Thank you for contacting us. We apologize for any inconvenience this issue may have caused.

    Please ensure all the affected pages are set to index and that they do not have custom canonical URLs.

    If the issue persists, follow the steps below for initial troubleshooting:

    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/

    If the issue 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. Kindly add this code snippet to your site:

    
    /** 
     * 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/.

    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘sitemap error’ is closed to new replies.