Include sitemap.xml in subdomains (fr.domain.com)

#384971
  • Resolved Jose
    Rank Math free

    Ola,

    How I can put my subdomains in my sitemap_index.xml ?

    It only appears for the main domain!
    fr.mydomain.com
    pt.mydomain.com

    Do you made a great job simplifying this SEO plugin, very simple two use!

    Thank you.

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

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

    If you wanted to add your subdomain links to your main sitemap, you may need to use a filter to achieve that.

    Here’s a guide you can follow:
    https://rankmath.com/kb/custom-sitemaps/

    I hope that helps.

    Thank you.

    Jose
    Rank Math free

    Holla,

    Thanks, for the fast reply!
    I only need to change this to my subdomains?

    [ 'loc' => 'http://fr.mydomain.com' ],
    [ 'loc' => 'http://pt.mydomain.com',],

    Where I can found /site_map.xml link to submit to google ?

    Obrigado!

    Prabhat
    Rank Math agency

    Hello,

    Could you confirm if you have a separate WordPress installation in your subdomain?

    I only need to change this to my subdomains?

    Yes, you will only need to modify and add the required URLs to the code.

    Where I can found /site_map.xml link to submit to google ?

    Please follow this guide to submit the sitemap to your Google Search Console account:
    https://rankmath.com/kb/submit-sitemap-to-google/

    Hope this helps.

    Thank you.

    Jose
    Rank Math free

    Obrigado
    ( Thank you ^_^’ )

    Hello,

    You’re very much welcome! We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this ticket.