This plugin is a solution for those running both the Domain Mirror and the Google (XML) Sitemaps Generator plugins together in Wordpress. Specifically it extends Google (XML) Sitemaps so that it creates one sitemap for each mirror set up in Domain Mirror. Sitemaps are created with the mirror URL prepended to the custom filename, so if your two mirrors are http://www.actionscriptdeveloper.co.uk and http://www.actionscriptfreelancer.com you’ll end up with two site maps called www.actionscriptdeveloper.co.uksitemap.xml and www.actionscriptfreelancer.comsitemap.xml. Submit these to Google in the webmaster panel for the appropriate mirrors and you’re good to go!
Download:
Download Google (XML) Sitemaps Mirror Plugin
Installation:
Download the zip from the link above and extract into your wp-content/plugins directory. Once you’ve done this go into your WordPress administration (on any mirror), click on Plugins and then click on Activate in the Google XML Sitemaps Mirror column. There are no settings or options for this plugin, once it is activated it will automatically start working. You’ll need to click on ‘Rebuild the sitemap manually’ after installation to generate the site maps for the first time, after which everything should happen automatically.
Requirements:
This plugin has been tested with:
- Google (XML) Sitemaps Generator for Wordpress 3.0.3.3
- Domain Mirror 1.1
- Wordpress 2.5.1
… but that’s not to say it won’t work with other version
If you try it out and find that it works ok please comment and let me know and I’ll add the versions to the supported list. This plugin assumes that you have installed and activated both Google (XML) Sitemaps Generator and Domain Mirror. If you activate this plugin without one or both of these unexpected things may happen!
Features:
Nope
I created this plugin because I needed it so there are no bells and even fewer whistles. It does just what it says on the tin. However, all the normal features of Google (XML) Sitemaps Generator should work correctly on every mirrored sitemap, including auto-submission of each sitemap to search engines, auto re-generation on posting, etc.
Support:
I’ll probably not be making any updates to the plugin unless I actually require them myself, so its a ‘use at your own risk’ kind of thing. If anyone makes any changes to the code that they think may be useful to others please give me a shout and I’ll post improved versions up on this page.







[...] Google XML Sitemaps with Multiple Domains [...]
Awesome, thank you.
[...] Google XML Sitemaps with Multiple Domains [...]
Very nice plugin dude tnx a lot!
The plugin doesnt submit the main domain sitemap.
Maybe yuo have fixed this problem?
Dave
[...] Google XML Sitemaps with Multiple Domains [...]
Fantastic article. hope to definitely visit soon..
You post is very helpful to me and I
Hello,
I am using your plugin on Wordpress 2.7.1 and it works perfectly-
I have tested it with the most recent version (3.1.3) of Google XML sitemaps and it did not work (it created a single sitemap.xml file) so I had to revert back to google’s 3.0.3.1. With this one, everyhting works fine as you described.
Cheers!
Plugin could not be activated because it triggered a fatal error.
Fatal error: Class ‘GoogleSitemapGenerator’ not found in wp-content/plugins/sitemap-mirror/sitemap-mirror.php on line 11
Solve this issue by installing a previous version of the Google Sitemap plugin, get it from here:
http://downloads.wordpress.org/plugin/google-sitemap-generator.3.0.3.1.zip
Would this fix the problem of Google indexing your content several times? (Because of several domains for one wordpress installation)