I cannot get GeoDirectory \”Post Types Pages\” to show in sitemap

#567575
  • Resolved Anonymous
    Rank Math free

    I am using the plugin GeoDirectory and I’m using “Post Type Pages” as location pages, however, I’ve gone through all the settings on Rank Math, and I cannot find them anywhere.

    So is there a way to add something that isn’t default in RankMath, if not, is there a way I can manually create an XML sitemap for a specific post type within RM?

    Thanks appreciate the help!

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

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

    To ensure that Rank Math is generating the sitemap for GD, please head over to your WordPress > Rank Math > Sitemap Settings > [select the post type] and enable the option “Include in Sitemap”:

    Rank Math support

    If the issue persists, 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/

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

    Anonymous
    Rank Math free

    Hey Jeremy,

    Thanks for that, it was what I assumed it was but it still isn’t working. Is there a way to manually add URL’s to a sitemap?

    Hello,

    Here’s a filter on how to manually add URLs to sitemap: https://rankmath.com/kb/filters-hooks-api-developer/#add-extra-urls-in-sitemap

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

    However, Rank Math should have added the sitemap automatically.

    Please add the filter code to your theme’s functions.php file and see how it goes:

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

    If the issue persists, you may come back to us here and we will assist you further.

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

The ticket ‘I cannot get GeoDirectory \”Post Types Pages\” to show in sitemap’ is closed to new replies.