Google (XML) Sitemaps Mirror WordPress Plugin

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.keendevelopment.ch and http://www.actionscriptfreelancer.com you’ll end up with two site maps called www.keendevelopment.chsitemap.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.

16 comments

  1. I’m afraid that I’m not doing any more active development on the plugin as its working fine for me. If you do make any updates please send them over and I’ll add them to this page!

    Dave

  2. 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!

  3. 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

  4. Would this fix the problem of Google indexing your content several times? (Because of several domains for one wordpress installation)

  5. I tried to download the old version of each single plugin as specified by your guidelines, however the sitemap mirror produces two identical sitemaps without excluding the domains which does not belongs to it’s name space.

    I probably would not agree with you to don’t update anymore the plug-in, however it would be useful if you can upload a working copy of the current one so that the community can get the benefit of your work, maybe giving you back some links.

    Many thanks for the answer you are going to provide.

  6. Hey Andrea (and all who have written above),

    Its great to see so many people found this plugin useful. However, its reached the end of its life for me personally and I don’t have any reason to update it.

    But hey – its open-source! If someone thinks the plugin would still be useful then please feel free to update the code and I’ll add a link on this page :)

    Good luck!

    Dave

Leave a Reply

Your email address will not be published. Required fields are marked *