Sitemap shows 404 for Custom Post types

#592362
  • Resolved Anonymous
    Rank Math free

    Hi,

    I created a few custom posts using custom post ui plugin. Also, added a couple of post to it using wp-allimport and acf plugin.

    However, the sitemap of that custom post is not available for me to submit to google. It says 404 when I click the sitemap.

    Please let me know how to fix it.

    if you want any other detail let me know, I will be happy to provide that.

    Thanks,
    Sunil

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Please share the custom post type sitemap URL and some of the URLs from that custom post type so we can check them as well. You can add them in the sensitive data section.

    Meanwhile, if you have already enabled them in Rank Math > Sitemap Settings > [Custom Post type], then please follow these steps to flush your sitemap cache:

    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/

    Moreover, you can visit this article for the common reasons why a URL is not showing in the sitemap:
    https://rankmath.com/kb/url-not-in-sitemap/

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

The ticket ‘Sitemap shows 404 for Custom Post types’ is closed to new replies.