My Rankmath Sitemap url and search console sitemap urls are different

#622825
Viewing 1 replies (of 1 total)
  • Hello,

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

    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/

    4. After that, please remove all your sitemaps from Google Search Console and submit the primary one (sitemap_index.xml).

    As for your issue with the Excluded by ‘noindex’ tag, please refer to this guide to address it: https://rankmath.com/kb/excluded-by-noindex-tag/

    The /feed pages however are not meant to be indexed by Google so if you wanted to disable them on your site, you can follow this guide:
    https://kinsta.com/knowledgebase/wordpress-disable-rss-feed/

    Alternatively, you can disallow bots from crawling the feed URLs from the robots.txt file at WordPress Dashboard > Rank Math > General Settings > Edit Robots.txt

    User-Agent: *
    Disallow: */feed/

    Once done, give Google some time to recrawl your site to reflect the changes.

    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.

Viewing 1 replies (of 1 total)

The ticket ‘My Rankmath Sitemap url and search console sitemap urls are different’ is closed to new replies.