Hello,
I apologize for the issue you are facing with adding your subdomain to the sitemap. Unfortunately, the context provided does not include specific instructions on how to include a subdomain in your sitemap using Rank Math.
However, generally speaking, sitemaps are typically generated for the main domain and do not automatically include subdomains. You may need to manually add the sitemap URL of your subdomain to your main site’s robots.txt file or ensure that the subdomain has its own sitemap that is accessible.
To add a sitemap URL in your robots.txt file, you can follow these steps:
- Go to your WordPress dashboard.
- Navigate to Rank Math > General Settings > Edit Robots.txt.
- Add the sitemap URL of your subdomain (e.g.,
Sitemap: https://example.com/sitemap.xml
).
- Save your changes.
If you have further questions or face any difficulties, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for raising this concern!
Not sure exactly what you mean. How would I add that.
Hello,
Thank you for your patience.
Please note that subdomains are treated differently/individually in Rank Math, as there needs to be a separate installation for them.
However, if you want to include the subdomain URLs in your main site, then you may need to follow this guide to create custom sitemaps:
https://rankmath.com/kb/custom-sitemaps/
Looking forward to helping you.
Hello,
We are glad we could address your concern.
Please feel free to create a new forum topic if you do have another question in the future.
It will be our pleasure to assist you again.
Thank you.