Hello,
Thank you for reaching out to us regarding the issue with your website’s sitemap not including some of the previous pages, especially those related to cities and services. I understand the importance of having all your pages properly indexed for SEO purposes.
Based on the information you provided, the missing pages might be excluded from the sitemap settings in Rank Math. To address this issue, please follow these steps:
-
Check the Sitemap Settings in Rank Math:
- Navigate to Rank Math SEO → Sitemap Settings.
- Ensure that the missing pages related to cities and services are not excluded under Exclude Posts or Exclude Terms.
- If needed, adjust the settings to include these pages in the sitemap.
-
Include Empty Terms in Sitemap:
- If the missing pages are category/tag/custom taxonomy archive pages, ensure they are not empty.
- Enable the Include Empty Terms option in Rank Math SEO → Sitemap Settings for category/tag/custom taxonomy archive settings.
-
Verify Index Status:
- Check the robots meta tag for the missing pages to ensure they are set to index.
- Navigate to Rank Math SEO → Advanced tab in the post editing screen and confirm that the pages are set to index.
By following these steps, you should be able to resolve the issue and ensure that all your existing pages, including those related to cities and services, are included in the sitemap for proper indexing by search engines.
If you encounter any further difficulties or have additional questions, please feel free to reply to this ticket for further assistance.
Best regards,
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Why Isn’t My URL Included in the Sitemap? » Rank Math
Why Are My Translated Pages Not in the Sitemap? » Rank Math
Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math
Dear RankMath Support Team,
Thank you for your prompt response and the detailed instructions.
I have checked all the suggested steps, including the Sitemap Settings, ensuring no pages are excluded, verifying that empty terms are included, and confirming that the pages are set to index. Despite following these steps, I am still facing the issue of some previous pages, particularly those related to cities and services, not being included in the sitemap.
Could you please provide further assistance to help resolve this issue? Any additional insights or troubleshooting steps would be greatly appreciated.
Thank you for your continued support.
Best regards,
Hello,
Apologies for the inconvenience.
Please share some of the URLs that are not showing in your sitemap. You can add them in the sensitive data section

It is completely secure, and only our support staff has access to that section.
Meanwhile, please ensure that you have not added a custom canonical URL to those URLs as we mentioned here:
https://rankmath.com/kb/url-not-in-sitemap/#custom-canonical-url
Looking forward to helping 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.