HTML Sitemap Not Working

#1051476
  • Resolved Alex
    Rank Math free

    As you can see here, the shortcode isn’t working: https://mrfinance.ro/sitemap/

    I’ve tried:

    – Clearing Rank Math transients and re-saving Permalinks
    – Clearing WP Rocket cache
    – Setting WP Rocket not to cache sitemaps
    – Disable the transients cache for sitemap
    – Confirming that post types have “Show in HTML Sitemap” enabled
    – Confirming that sitemap_index.xml is working

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

    I apologize for the issue you are facing with the HTML sitemap not working. It seems like you’ve already taken several steps to troubleshoot the problem, which is great. Here are a few additional suggestions that might help:

    1. Check Shortcode Placement: Ensure that the shortcode for the HTML sitemap is placed correctly in the page editor. You can use the following shortcode:

      [rank_math_html_sitemap]

      Make sure there are no extra spaces or characters around it.

    2. Theme Compatibility: Sometimes, themes can conflict with shortcodes. Try switching to a default WordPress theme (like Twenty Twenty-One) temporarily to see if the shortcode works there.

    3. Plugin Conflicts: Since you are using WP Rocket, ensure that there are no other caching or optimization plugins that might be conflicting with Rank Math. You can try deactivating other plugins one by one to identify any potential conflicts.

    4. Debugging Mode: Enable debugging in WordPress to see if any errors are being logged that could give more insight into what’s going wrong. You can do this by adding the following line to your wp-config.php file:

      define('WP_DEBUG', true);

      Check the debug log for any relevant errors.

    5. Check for Custom Code: If you have added any custom code to your theme’s functions.php file or elsewhere, ensure that it’s not interfering with the HTML sitemap functionality.

    If none of these steps resolve the issue, please reply to this ticket with your site URL so that a human agent from our support team can take a closer look and assist you further. Thank you for raising this concern!

    Alex
    Rank Math free

    I’ve noticed that other shortcodes are also not rendering on the site, so the issue may not be with Rank Math. Still, would welcome any ideas!

    Hello,

    The shortcode on the page you shared is not for Rank Math’s sitemap, as it should be [rank_math_html_sitemap]

    html

    You can also determine which plugin/theme is causing the shortcode issue on your site by following this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Here is a video you can follow as well: https://www.youtube.com/watch?v=FcIWRhcUP2c

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Alex
    Rank Math free

    Thank you

    Hello,

    We are glad we could address your concern.

    Please feel free to create a new forum topic if you do have another question in the future.

    It will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘HTML Sitemap Not Working’ is closed to new replies.