Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a multisite installation with quite a lot sites on subdomains. The problem is that all multisite sitemap plugins create a separate sitemap for each site.

I do not want to have to add dozens of sites to Webmasters Tools. This is a lot of work, makes it all hard to manage, and forces me to read all the stats and reports separately, when I want to have only one.

How can I create a single sitemap that encompasses every site in the network?

share|improve this question
    
Are you using subdomains or subdirectories? –  user2019515 Apr 10 '13 at 22:29
3  
What do you think of something of the like for a title: "How to consolidate all sitemaps in a Multisite network?". I suppose you look for a solution and not for a not-solution... :) –  brasofilo Apr 10 '13 at 22:35
    
Hi, they are on subdomains. –  HoGo Apr 11 '13 at 7:41
    
Thanks brasofolio, Chnaged the title. –  HoGo Apr 11 '13 at 7:42

2 Answers 2

Well you can register the main domain (ie domain.com). Unfortunately you must also register and verify www.domain.com as well as all subdomains. No getting out of that.

Note: Bing / Yahoo webmaster tools is smart enough to realise that domain.com and www.domain.com are the same. So you only nead to register domain.com

But finally you only have to submit a sitemap to domain.com. You can submit more than one sitemap to Google / Bing / Yahoo webmaster tools.

Finally you must add each sitemap to your robots.txt file

Sitemap: http://domain.com/sitemap.xml
Sitemap: http://sub.domain.com/sitemap.xml

Copy same robots.txt file in each subdomain. And your done.

share|improve this answer
    
I haven't tested the effects of consolidating a sitemap referencing different domains before. Right now my site is off all search engines due to my experiments. If you do go through with it please forward the outcome to me. –  mAsT3RpEE Jun 10 '13 at 20:32

I do not want to have to add dozens of sites to Webmasters Tools.

You're wasting your time if you do that. Every sitemap plugin I can think of pings major search engines when the sitemap gets updated. And the better ones (all of them?) generate a separate sitemap per subdomain.

Consolidating all sitemaps in a multisite network is utterly useless in that light, and makes for complications when generating the map itself — memory issues and timeouts may kick in.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.