• I have a multisite for only one site. I am using rankmath for the XML sitemap. However, there isn’t an index sitemap that indicates that the subsites belong to the main URL.

    Is there a plugin for multisite for the XML sitemap?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I don’t think you’ll find anything like it. Each domain is considered by Google as its own domain. A SitemapXML should only contain pages of the domain it is called from – otherwise it would cause an error and not lead to indexing.

    Here is also an answer at Google about this:
    https://support.google.com/webmasters/thread/132990940/submitting-a-sitemap-for-a-multi-domain-website-with-the-same-urls?hl=en

    Thread Starter Irene

    (@arlinaite)

    Thanks for your answer.

    Sorry for the delay. in my site, the subdomains are subfolders.

    • example.com/
    • example.com/es/ spanish version
    • example.com/en/ english version
    • example.com/ba/ spanish version
    • example.com/ar/ spanish version

    example. com and example.com/ar/ spanish version are the same main site, this is how multisite is.

    In Google Search Console I can find the pages of the subsites in the main URL

    Maybe it’s not a must to have a sitemap index, that include all the subsites URL’s but I thought that the structure of the site should be more clear.

    You can enter the sitemap.xml’s of each subsite individually in Google Search Console. Then Google will also get to know about it. It is not necessary to add an entire index to your site.

    Thread Starter Irene

    (@arlinaite)

    You can enter the sitemap.xml’s of each subsite individually in Google Search Console.?

    Sorry, I didn’t mention it before. This is precisely how it is now that’s why I was asking about an index sitemap that indicates that the subsites belong to the main URL.

    The subdirectory sites can also be different websites, and I wouldn’t be so sure that GSC understands that.

    Plugins like Yoast create one sitemap per post type. There is then also a central index (related to the individual website). The Search Console also uses this and recognizes the files linked in it. This is part of the SitemapXML standard, which you can also read about here: https://www.sitemaps.org/index.html.
    Theoretically, you can store any number of sitemaps in the GSC. I know this from other store systems that sometimes create multiple sitemaps (for pages, for products, for variants …) and have no common index for them.

    In your case you have a multisite. I don’t know any multisite plugin which could span over this one sitemap as a total index. The biggest problem I see is the addressing of the index. Where should it be accessible? In the main page? What would be a main page of such a network from Google’s point of view? Couldn’t you tell the bot concretely. Multisites are often strictly separated pages.

    Perhaps it would be easier for you to create the different languages not as a multisite but within a page. Most multilingual plugins do this without any problems (WPML, Polylang).

    Thread Starter Irene

    (@arlinaite)

    I have RankMath, the point is that the index sitemap of the main site example.com stores the sitemap of example.com/ar/. This is how the main site is structured by Multisite.

    The Multisite works well and serves its purpose, which is not the translation only.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘wp- multisite XML Sitemaps’ is closed to new replies.