add portfolio to sitemaps?

#588496
  • Resolved Anonymous
    Rank Math free

    can you add portfolio “posts” to the html and xml sitemaps?
    if so how?
    TY

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math support.

    Yes, you can add portfolio posts to the HTML and XML sitemaps in Rank Math. There are a few steps you need to follow:

    • Make sure your portfolio post type is public and has an archive page.
    • Go to Rank Math > Sitemap Settings > Post Type > Portfolio and enable the toggle to Include in Sitemap. This will include your portfolio posts in the XML sitemap.
    • To include your portfolio posts in the HTML sitemap, you also need to enable the option Include in HTML Sitemap under the Portfolio post type. You can find this option in Rank Math > Sitemap Settings > Post Type > Portfolio as well.
    • If you would rather prefer to create a custom sitemap with specific portfolio posts, you can use a filter code to add them to a new sitemap file. You can find more details on how to do this here: https://rankmath.com/kb/custom-sitemaps/

    I hope this helps. If you have any further questions, please let me know.

    Best regards,

    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 ‘add portfolio to sitemaps?’ is closed to new replies.