How to edit custom post type URL in Rank Math Sitemap

#246448
  • Resolved Jacquas
    Rank Math free

    Hello, I am using some Custom Post Types and can not change their names because I am using a plugin for these. The issue is, Rank Math is showing Custom Post Type names in the Rank Math Sitemap. For example, it is showing like, https://example.com/xyz-index.xml in https://example.com/sitemap_index.xml. I want to edit that url (https://example.com/xyz-index.xml), I want to edit that xyz part because it is showing the exact custom post type name and I do not want to show it as it is. Is there any way to do that? Also kindly mention the code if one is required to put in function.php for its working.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    Unfortunately, it is not possible to rename the Sitemaps generated by Rank Math. Also, Rank Math generates the sitemaps on runtime, hence you will not find it on your server.

    Hope this helps, please don’t hesitate to tell us if you need any further assistance. Thanks.

    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 ‘How to edit custom post type URL in Rank Math Sitemap’ is closed to new replies.