Problème sitemap

#705610
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    I apologize for the issue you’re facing with the sitemap on your website “Teachizy.” I understand that when you click on one of the sub-sitemaps, such as https://premium.wpmudev.org/blog/w3-total-cache-settings/#uaGroups?utm_campaign=RankMath it redirects to a page other than the articles sitemap.

    To resolve this issue, you can try adding the following piece of code anywhere in your theme’s functions.php file:

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

    This should help resolve the issue with the incorrect entries in the sitemap. If you need further assistance, please feel free to reach out.

    Thank you for bringing this to our attention.

    Sources:
    Multilingual SEO with Rank Math SEO & WPML » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math

    Hello,

    Thank you for contacting us and sorry for any inconvenience that this issue might have caused.

    Please 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. To do this, you need to add a small piece of code to your site’s functions.php file or use a plugin like Code Snippets.
    The code you need to add is this:

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

    It will show you step-by-step how to use the Code Snippets plugin or edit the functions.php file safely.

    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.

    Merci beaucoup. Petite question, si je suis les instructions à la lettre y a-t-il un risque ?

    Hello,

    There’s no risk in flushing your sitemap cache as it doesn’t affect any of your configured settings or saved data.

    Sitemaps help website URLs to be discovered by search engines easily, so this shouldn’t be cached from any sources and always be updated.

    Hope that helps.

    Thank you.

    Bonjour, merci pour votre réponse. Actuellement sur Google Search Console, tous les sous-sitemap présente une erreur : “Your Sitemap appears to be an HTML page. Please use a supported sitemap format instead.”

    Si je fais les étapes ci-dessus, ce problème sera résolu ?

    Hello,

    We checked your sub-sitemaps and we can see they are still not working properly. Can you please confirm if you’ve followed the steps we shared above? If so, then we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

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

The ticket ‘Problème sitemap’ is closed to new replies.