Custom Sitemaps

#836162
  • Resolved Megan Starr
    Rank Math free

    hey there! love your product but i have a question 🙂

    i am creating a new site and most of what will be on there will be pages and not posts. for the pages, i want to have three separate sitemaps for: attractions, activities, and accommodation. is there a way to do this within the plugin? i have researched and see some special coding but not sure that is right!

    [Sensitive data section]

    Thanks so much! -Megan

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

    Thank you for reaching out and for your kind words about our product!

    To create custom sitemaps for your pages in Rank Math, including attractions, activities, and accommodation as separate sitemaps, you can follow these steps:

    1. Add Custom Links in get_sitemap_links() Function:

      • Replace the example.com URLs with your custom links in the get_sitemap_links() function.
    2. Add the Code Snippet in Child’s rank-math.php:

      • Add the provided filter code in the rank-math.php of your child theme to include your custom sitemaps.

    Once you have implemented these steps, your new sitemaps will show up with your custom links in them. This way, you can have separate sitemaps for attractions, activities, and accommodation on your website.

    For more detailed instructions, you can refer to our guide on How to Create a Custom Sitemap and Include It in Rank Math.

    If you encounter any difficulties or have further questions while setting up your custom sitemaps, feel free to ask for assistance. We are here to help!

    Best regards.

    Sources:
    How to Configure Sitemaps in Rank Math – Best Settings and Tips
    How to Create a Custom Sitemap and Include It in Rank Math » Rank Math
    How to Exclude Content From Sitemap » Rank Math

    Can you please delete my thread? You didn’t answer and I don’t want this information public. Thanks.

    Hello,

    You can follow this guide on how to create custom sitemaps and include them in Rank Math’s sitemap implementation on your site: https://rankmath.com/kb/custom-sitemaps/

    We have moved details of your site you shared in the first post to the sensitive data section.

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

    Thanks so much!

    Hello,

    We are glad we could be of assistance to you.

    Do you need further assistance or should we mark this ticket as resolved and proceed to close it?

    We are always here to help with any issues related to Rank Math.

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

The ticket ‘Custom Sitemaps’ is closed to new replies.