Rankmath is generating spammy links in sitemap.

#709212
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    We apologize for the inconvenience you’re experiencing with the Rank Math sitemap. We appreciate you bringing this to our attention.

    Upon checking the sitemap link you provided, it seems that there are some issues with the sitemap. To address this, we recommend checking for any plugin conflicts using the Health Check plugin as outlined in our knowledge base article here.

    If you are running W3 Total Cache along with Rank Math on your website, you can create another user agent group and add the ‘googlebot’ user agent to it as detailed here.

    If the issue persists after trying these solutions, please include the following filter in your theme’s functions.php or rank-math.php file:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    We hope this helps resolve the issue. If you need further assistance, please feel free to reach out to our support team.

    Warm regards.

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Does Rank Math Come With a NewsPack? » Rank Math
    How to Add Sitemaps to Robots.txt » Rank Math

    Hello,

    Thanks for contacting us, and sorry for any inconvenience this might have caused you.

    We have checked the sitemap and can see that it is loading incorrectly though it is validating correctly when using https://httpstatus.io/.

    Can you please try following the steps below to see if it works for you?

    #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. If the above steps doesn’t seem to work, kindly apply the following filter code 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.

    Anonymous
    Rank Math free

    Hi Adetayo,

    Thanks for your reply. We have tried all of your suggested method but nothing worked.

    Warm regards,
    Sabbir

    Hello,

    We’ve checked your website and it looks like it is affected by the famous Japanese keyword hack, and you should take immediate action to fix it.

    Please check the URL below and follow the troubleshooting steps to take immediate action:
    https://web.dev/fixing-the-japanese-keyword-hack/

    Once you are able to remove this malware from your website, please clear the sitemap cache by following this screencast: https://i.rankmath.com/pipRDp

    Let us know how it goes. Looking forward to helping you.

    Thank 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 4 replies - 1 through 4 (of 4 total)

The ticket ‘Rankmath is generating spammy links in sitemap.’ is closed to new replies.