Remove single custom post type pages from site map

#807909
  • Resolved Anonymous
    Rank Math free

    Hi There,

    I want to remove the single custom post type pages (basically all of the posts from this post type) from this site map, but I want to continue to include the archive page (first page listed in this site map).

    https://davidpakman.com/book-recommendation-sitemap.xml

    How can I do this?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting us and bringing your concern to our attention.

    In this case, you can use the Exclude Posts option in Rank Math > Sitemap Settings > General to remove the URLs from this sitemap or you can set the pages to Noindex.
    https://rankmath.com/kb/configure-sitemaps/#exclude-posts

    Since you don’t want to remove all the URLs from this sitemap, this is the only way you can remove specific URLs.

    Hope that helps and please don’t hesitate to let us know if you have any other questions.
     
    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 ‘Remove single custom post type pages from site map’ is closed to new replies.