Sitemap for Tags Not Working on Toptut.com

#621616
  • Resolved Anonymous
    Rank Math free

    Hey Support Team,

    I’m facing an issue with my post tags sitemap at https://www.toptut.com/post_tag-sitemap.xml. While my regular sitemap as lively as ever, the tags version seems to be on a digital vacation!

    I’ve tried everything: deactivating and reactivating the plugin, toggling the sitemap on and off, adding specific text to .htaccess, and inspecting robots.txt. Still, my tags sitemap seems to have chosen the path of non-cooperation.

    Can you peek under the hood and find out what’s ailing my sitemap? My website feels quite incomplete without it.

    Look forward to your prompt assistance!

    Best,
    Liz

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for your query and we are so sorry about the trouble this must have caused.

    On checking the sitemap with a validator, it does look like it’s returning an error:
    Incorrect http header content-type: "text/html; charset=UTF-8" (expected: "application/xml")

    For initial troubleshooting, 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. Add the filter code to your theme’s functions.php file:

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

    You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/

    You can also refer to this KB here:
    https://rankmath.com/kb/incorrect-http-header-content-type-sitemap-error/

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

    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 ‘Sitemap for Tags Not Working on Toptut.com’ is closed to new replies.