• Resolved vireev

    (@vireev)


    when I made all the necessary settings for the new site, when sending the sitemap to Google, I noticed that there is a sitemap I don’t need in the list (rl_gallery-sitemap.xml) – this is a plugin that works with galleries.

    At first, I tried to solve the problem by turning off the sitemap generation option in the RankMath control panel, but this did not work and the rt_gallery sitemap was still present in the list of general sitemaps.

    I even removed this plugin (even though I need it, but I don’t need its archive and gallery pages indexed) and still this sitemap is present in the RankMath list.

    I don’t know what to do because this is complete delusion. I don’t want to remove RankMath because there are many useful tools, but what should I do? Reinstalling it again only because some stupid plugin crashed or RankMath himself crashed it?
    I even deleted that rl_gallery plugin, but the sitemap is still there! It doesn’t suit me.

    • This topic was modified 2 years, 10 months ago by vireev.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter vireev

    (@vireev)

    I find a xml file in rank-math uploads directory and delete string with that gallery. solved. But that is not the nice way

    Plugin Support Rank Math Support

    (@rankmathteam)

    Hello @vireev,

    Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.

    The issue indicates a caching issue from your end. To permanently resolve this, 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/

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

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

The topic ‘Sitemap Trouble’ is closed to new replies.