Domain Mirror Plugin

Wordpress 2.7: Works.
Wordpress 2.6.2: Works.
Wordpress 2.6.1: Works.
Wordpress 2.5: DomainMirror seems to work with no changes on this version, as long as the 2.3 patch is in place.

Download: Domain Mirror v1.1

Download: Domain Mirror v1.2beta

Download: WP-DomainMirror WordPress 2.3 fix

If you have more than one domain and want to point both of them at the same WordPress installation, you’ll find that it doesn’t really work very well. Wordpress creates it’s own internal URLs based on the settings in General Options. This Plugin allows multiple domains to be configured within WordPress and updates the Weblog Title, WordPress Address URL and Blog Address URL on-the-fly based on the value of $_SERVER['SERVER_NAME'].

This allows one installation to show different URL paths, tagline and blog title for each domain.

What it won’t do is make one domain appear to be two, or change your domain configuration. You need to do that yourself, or have your hosting provider do it for you.

To see it in action, you can access this site via http://McAleavy.org or http://LightPainting.org. Both point to a single WordPress installation, running on a single database.

NB: It doesn’t appear to work with WordPress MU.

New in v1.1

  1. You can now have a separate tagline on each domain.
  2. The Admin screen has a button to copy in the current Wordpress configuration to save on typing.
  3. The Admin screen has buttons to clear content from whole domains and indivudual lines.

New in v1.2beta

This version is pretty new, contains quite a few changes, and may have bugs. Please use it if you’d like to help find them.

  1. Theme switching.
  2. SERVER_NAME / HTTP_HOST config option.
  3. “no admin screen” switch.
  4. More validation.
  5. Added “stripcslashes”

Installation

  1. Download and unpack the archive. If you downloaded the plugin from my site it will unpack to a directory named “AA-DomainMirror”, but if you got it from the Wordpress plugin repository it will unpack to the direcotory “domain-mirror”. Either will work, but you may need to rename the latter to “AA-DomainMirror” if you have problems with some other plugins not seeing the changes. See below.
  2. Copy the whole AA-DomainMirror directory to wp-content/plugins/ If possible, don’t change the name of the directory, as the AA- at the start is a horrible hack to ensure that Wordpress loads this plugin first. This is required as any plugin loaded before it won’t be able to see the changes it makes, so will behave as if it’s still on the default domain. This puzzled me for quite a while.
  3. Go to your Plugins page and activate Domain Mirror.
  4. Go to the Options -> Domain Mirror page and configure as outlined below.

Upgrade

Overwrite the old version with the new version.

Usage

When enabled, Domain Mirror will change the values of Weblog Title, Tagline, Wordpress Address and Blog Address automatically. Where you have hard-coded the site name or a site URL into a post or page you should replace that entry with one of the tags provided. See below.

Configuration

Click the images to expand.

You will need to set up at least 2 domains that point to the same WordPress install. With Apache you can do that with Virtual Hosts. If you are using a hosted account there may be some way to set this up through the account configuration screens. On the host I use for this site, DreamHost, you do this by logging into the Panel interface and selecting Domains >> Manage Domains. Your first domain must be Fully Hosted. For the Domain you want to set as the Mirror, click the edit button. In the edit screen there are 5 options:

  1. Fully Hosted;
  2. Redirected;
  3. Mirrored;
  4. Parked;
  5. Cloaked.
DreamHost Mirror Settings

DreamHost Mirror Settings

Select the Mirrored option, and set Domain to mirror to the name of your Fully Hosted domain. Shown here is this setting for my lightpainting.org domain, which mirrors mcaleavy.org.


Options Before

Options Before

Your existing Wordpress configuration should be left as it is. This will not be changed unless you press Save on this page when viewed from a domain other than the default. See below.


Domains Before

Domains Before

On initial activation, the Domain Mirror options screen will display a default blank entry. This default is defined in conf.inc.php - which can be edited to set different defaults. The post tags used to display the current setting of these fields in posts or pages are shown to the right. Add this text to a post or page and it will be replaced by it’s value for the current domain. This allows such posts to display properly from any configured domain.


First Domain

First Domain

Fill in the settings for the current domain, or press the Get Current Domain button to get the values from the database. This is recommended because the General Options page will show the Domain Mirror configured settings when accessed from another domain. If you then press Save on that page those options will be written to the Wordpress settings, overwriting the original settings. If you don’t have those settings in Domain Mirror, they will be lost and the original domain will not function properly until they are re-entered. If Save is not pressed, the original values will be retained and will be used again when the plugin is disabled.


Changes Saved

Changes Saved

Click the Save button to record the changes. The screen will reload and display the Changes Saved banner.


New Blank Domain

New Blank Domain

To add another domain, click the Add New Domain button. The page will refersh with a 2nd blank domain.


Second Domain

Second Domain

Fill in the details for the 2nd domain, and click Save Changes.


SiteBefore.jpg

SiteBefore.jpg

Now, when viewed using the first domain, the site remains unchanged.


Site After

Site After

When viewed using the second domain, the site appears as if configured for that domain.


Options After

Options After

The General Options screen, when accessed from the new domain, now displays the details for that domain. These options, however, are coming from the Domain Mirror configuration and not from the Wordpress settings. As noted before, if save is pressed on this page these options will be written to the Wordpress settings, overwriting the original settings. If you don’t have those settings in Domain Mirror, they will be lost and the original domain will not function properly until they are re-entered.

To delete a domain, press the Delete Domain button and it will be removed from the page. This change will be written to the database when you next press Save Changes. If you delete all of the entries in Domain Mirror it will return to it’s default settings. If you wish to alter these defaults you can edit the file config.inc.php in the AA-DomainMirror directory. The “X” buttons on each line can be used to clear the contents of that line and the Clear All button can be used to clear the contents of that domain setting. Again, pressing Save Changes is rquired to make these changes permanent.

DaveMc, April 2007.

bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark bookmark

  1. February 7th, 2009 at 23:06 | #1

    I’m actually looking for exactly the opposite, that is to say a plugin that will keep two wordpresses at different servers in sync so that should one server go down I can use ZoneEdit to transfer requests over to the other server. Do you know of anything that does that?

    I can see that it would need to do the following things:
    1) when a post is made a copy is sent to the other wordpress so a copy is posted there.
    2) if an image was uploaded for a post it needs to be sent to the other wordpress.
    3) when a comment is made it needs to be sent to the other wordpress to appear there.

    Since only one of the wordpress installations (the dominant domain) would be accessible via DNS they would need to know each other’s IP addresses.

    There may be other complications I’ve not thought of.

    Thoughts?

    Cheers,

    -Walter Jeffries
    http://SugarMtnFarm.com/blog <– not on wp but should be. :)
    http://NoNAIS.org <– on wp

  2. January 31st, 2009 at 20:01 | #3

    hi, i am using this plugin, but since there is an apostrophe in my site’s tagline, it’s screwing up and adding a backslash. anyway of fixing this? or skipping this step and having it just use the same tagline the other site has? the URL i’m trying to mirror is 100bandsin100days.com to 100bands100days.com

    thanks in advance

    nick

    • February 8th, 2009 at 23:11 | #4

      Yep, that’s a bug. I’ll have a look at it.

  3. January 23rd, 2009 at 16:05 | #5

    I still didn’t get any email from you with the category domain mirror :-(

    Is it stil possible to get it :-)

    • February 8th, 2009 at 23:09 | #6

      Just catching up with things. A copy is on the way.

  4. January 20th, 2009 at 23:09 | #7

    I am trying out this plugin and I like the idea. But it appears to have bugs. I try the latest WP (2.7) and try to reach a development blog from all of these locations: “localhost/testblog” (on the machine itself), “mypcname/testblog” (through its LAN name), “mypcname.local.xx/testblog” (through its LAN DNS name) and “xyz.dyndns.org:1234/testblog” (from the internet, through a port-forwarding NAT router).

    It looks like the site really only works on the one name defined in the WP settings. With all the other locations, the plugin tries its best, but at several places in the templates it still uses the WP settings name (localhost in this case) instead of the “configured” name. I found this to be particularly true for the “bloginfo(’stylesheet_url’)” function, which will still return “localhost” untranslated in all contexts, but there probably are other functions that go untranslated as well.

    Is this a bug? Am I doing something wrong? Do I need to change my template code? Or can you provide a fix?

    Thank you very much –Daniel

    • February 8th, 2009 at 23:08 | #8

      Daniel,

      This tends to happen when one of your plugins loads in front of the Domain Mirror plugin and so can’t see the changes it makes. The only way I’ve been able to control the plugin load order is with the name of the plugin directory as they appear to be loaded in alphabetical order.

  5. matt
    January 8th, 2009 at 14:56 | #9

    @DaveMc

    I’d be interested in that beta, as it happens I need a category hidey/showy thing for two domain right this very moment!

  6. Gary O
    January 7th, 2009 at 02:00 | #10

    DaveMc :
    I’ll check to see if that’s possible.

    Have you had a chance to check this out?

    Would my domains being hosted on a Windows platform have anything to do with the problem being experienced?

    Gary

  7. December 31st, 2008 at 13:40 | #11

    I have a new version of Domain Mirror available that allows different post categories to be shown on each site. If anyone is interested in testing it give me a shout.

    Dave

    • January 2nd, 2009 at 02:05 | #12

      Wow that sounds very interesting, Dave…

      I’m doing that right now, where each domain basically redirects to a specific category, or set of categories.

      Does this new version of the plugin make it so certain categories are NOT accessible from the other domains? That is the only problem I have currently having.

      Example:
      (Post in Category 12)
      works with both http://www.domainONE.com/post_123
      or http://www.domainTWO.com/post_123

      What i’d really like is if a post is in Category 12, it will ONLY appear for domainONE.com… that would be ideal and make things easier with Google.

      - Michael

      • January 3rd, 2009 at 02:26 | #13

        Michael,

        Yes, that’s exactly what it does. The categories that are excluded from a domain don’t even show up in that domain’s admin screen - although the total number of posts shown there is still the correct value. The current version works by category number so you need to figure those out, but that could be made more user friendly.

        I’ll make up a zip file later and send you download link.

        Dave

        • January 3rd, 2009 at 14:26 | #14

          Hi,

          I was looking for that same plugin that will allow to do domain mirror but will show different categories or posts on each domain, if it is okay, I would also like to have a copy of the new plugin you have as Michael was referring to… Hoping for your kind consideration… thanks :)

        • January 6th, 2009 at 19:28 | #16

          Dave,

          Got the e-mail, thanks!

          Before I install it, I wanted to double check with you on running the new version with UI disabled… I currently do not use the UI for the plugin and edit it manually.

          What would I add to the config.inc.php for allowing the categories, in preparation for installing the new plugin version?

          Thanks… looks great. By the way, in order to include Pages, I would also include “0″ on all domains?

          - Michael

  8. Gary O
    December 29th, 2008 at 00:18 | #17

    Hi Dave,
    Thanks for a great plugin. I’m updating my sites (http://www.garysoffice.com -MAIN and http://www.riverlandpages.com - MIRROR) and everything apart from my Contact page seems to be OK.
    I can submit my contact form from the MAIN site but can not submit the form from the MIRROR site.
    For info, I am using CForms 9.4.
    I am on a windows hosting platform and the riverlandpages domain is an alias for the garysoffice domain.
    I suspect that because I don’t have any email addrersses setup for the MIRROR it is not able to process any email via the form.
    Do you have any suggestion as to how I can get the two domains to play nice with CForms?

    Gary O

    • December 29th, 2008 at 14:32 | #18

      Gary,

      I haven’t used that particular plugin, so I’ll have to do a little testing. I use Contact Form ][ and that hasn’t given me any problems so far.

      Dave

      • Gary O
        January 1st, 2009 at 04:22 | #19

        Thanks Dave, in the meantime I’ll check out the plugin you are using and report back if I am still experiencing the same problems.

        • January 1st, 2009 at 16:59 | #20

          I’ve tested it with CForms and it doesn’t work for me either, but I think that is to me expected as there are warnings in the instructions about it failing to work if the email address isn’t as expected - so I thing it may be doing some sort of validation on the address. I think the solution might be to swap the email address used for each domain. I’ll check to see if that’s possible.

          • Gary O
            January 3rd, 2009 at 06:31 | #21

            Thanks Dave,

            I also tried Contact Form ][, but that did not work either for me.
            In my Installed plugins list it states I’m using 1.3beta, I note above only 1.2beta is listed.
            I also had CForms setup to use my gmail email address, same issue arose, I could send email via the Main domain (garysoffice.com) but not from the mirrored domain (garysoffice.com).
            I’m not fussed what contact plugin I use as it is just basic contact details - just want to be able to use one which works from both domain names!

            Happy New Year!

  9. December 10th, 2008 at 16:44 | #22

    That’s great to hear, thanks for the update, Dave!

    Michael

    (At least that is one great plugin I won’t have to worry about when I upgrade!!!)

  10. December 10th, 2008 at 05:05 | #23

    New WP 2.7 RC1 is out now… I’m just wondering if you have any idea whether or not Domain Mirror will function with actual 2.7 release? I’m using it without any problems on a 2.6.5 install (manually upgraded).

    Thanks,
    - Michael

    • December 10th, 2008 at 07:40 | #24

      Yes, Domain Mirror is working fine with Wordpress 2.7 RC1 - I’m running it here already.

  11. November 15th, 2008 at 21:48 | #25

    oh no sorry, i guess now its refreshed, i had to logged into the admin and now it seems updated…
    sorry to bother, and thanks again for this beautiful plugin :)

  12. November 15th, 2008 at 21:42 | #26

    Hello there,
    I’ve been uisng the plugin without any problems, but i just noticed today that for some reason the mirror address dont update for a while, is this a common issue ?

    my main bog : cyanatrendland.com
    my mirror : trendland.net

    Can you please let me know, or i maybe have to do something ?

    Thank you

  13. November 1st, 2008 at 00:31 | #27

    Wonderful Plugin ! :) thanks a lot, i was trying to this for a while now and thanks to you now we are able to ! so now i have trendland,net and cyanatrendland.com the same :)
    Merci Merci !!

  14. October 21st, 2008 at 23:53 | #28

    I have just installed Domain Mirror on WP 2.6.2. At the top of this page it says it works, but it seems there are issues with some plugins. The plugins that are being kept up to date and have implemented the new constants for moving directory locations are those having problems.

    Please can you update the status at the top of the page to reflect that there might be some issues with plugins.

    I have had a look at the Domain Mirror plugin source but I couldn’t find an easy fix - probably as I have never written a WP plugin before. I did find these details on the WP Codex: http://codex.wordpress.org/Determining_Plugin_and_Content_Directories

    If you can produce a fix it would be appreciated.

    Nick

  15. October 12th, 2008 at 09:40 | #29

    how to point subfolder of subdomain to the subfolder of main-domain ?

    when I check my site from subdomain, it redirects to the same old installation of orginal domain.

    please help.

  16. September 26th, 2008 at 15:29 | #30

    Hello,
    This plugin looks like it might be what i need, I think.
    I have a blog (http://djs-music.com) and it was originally in english. I then translated it to Spanish, with a new theme that is the same but with all sentences and stuff in spanish. Original theme was by me, called reloaded. Spanish theme reloaded_es

    I then created a subdomain called es.djs-music.com and directed it to djs-music.com now what I want is to use domain mirror to display the template reloaded for one, and the template reloaded_es on the other one. How can i do that?

  17. Annoyed
    September 26th, 2008 at 01:17 | #31

    You can get this to work on the surface in Cpanel by adding the domains as “addon domains” and making the directory whereever the blog is. For instance mine isn’t top level and is under the director “blog” so I used this directory when creating all new addon domains. Then I set these up in this plugin. When you go to the sites domain names, they do indeed point to the wordpress installation in the blog directory but when you click on anything you get an internal server error.

  18. Annoyed
    September 26th, 2008 at 00:59 | #32

    Well it seems like this plugin should accurately be labeled as a plugin for those with Dreamhost. It doesn’t work when using Cpanel.

  19. September 15th, 2008 at 22:11 | #33

    I’ve just spotted the 2.6.2 update, and will be updating to it myself, so Domain Mirror support will be coming soon.

  20. September 13th, 2008 at 03:13 | #34

    Wondering if DomainMirror will be compatible with 2.6.2 WP release? Due the to the changes with open registration or whatever they have changed… I am wondering if upgrading will have any adverse affect on the plugin? I am hoping to upgrade… but only if I can continue to use the domain mirror! Thanks Dave.

  21. September 7th, 2008 at 22:19 | #35

    I just upgraded this site to Wordpress 2.6.1 and everything is still working with Domain Mirror. I’ve very puzzled. I suspect the unserialize problem may only occur with 2.6. I’ll try and test that later but will have to roll my test database back to do it.

    Dave

  22. September 7th, 2008 at 19:46 | #36

    Hi, Dave.
    Thank you for plugin.
    But there is a problem.
    If I upload theme only in the main site, domain mirror can’t work, so when I upload theme to the domain mirror it works great. And the question is: may I upload a theme only in the main site?

  23. Michiel
    September 5th, 2008 at 15:07 | #37

    Hi Dave

    First i have to say great plugin!

    But I have a small request:

    Could i t be possible to add a custom field to the setup. This way it could be possible to add some extra code. or example Google anlytics?

    I think it would be great.

  24. August 22nd, 2008 at 01:07 | #38

    If you log into 1st domain, will the cookie persist over to the 2nd domain using this plugin so that the user wouldn’t have to log in again?

  25. Barry
    August 15th, 2008 at 21:04 | #39

    could it be an issue that my host has set up mysql with this?

    MySQL charset: UTF-8 Unicode (utf8)

  26. Barry
    August 15th, 2008 at 21:02 | #40

    More info:

    I currently have the following value for wpdm_options in my wp_options table:

    a:10:{s:8:”domain_1″;s:0:”";s:10:”blogname_1″;s:0:”";s:17:”blogdescription_1″;s:0:”";s:9:”siteurl_1″;s:7:”http://”;s:6:”home_1″;s:7:”http://”;s:7:”theme_1″;s:17:”WordPress Default”;s:10:”template_1″;s:7:”default”;s:12:”stylesheet_1″;s:7:”default”;s:10:”use_themes”;i:0;s:5:”count”;i:1;}

  27. Barry
    August 15th, 2008 at 20:40 | #41

    I am installing on 2.6, using AA-DomainMirror as my directory.

    I installed both:
    DomainMirror-v1.2beta.zip
    WP-DomainMirror-2.3fix.zip

    after activating the plugin, I get a a series of errors like this before the page displays:

    Warning: unserialize() expects parameter 1 to be string, array given in /domainrootwordpress/wp-content/plugins/AA-DomainMirror/WP-DomainMirror.php on line 58

    this happens with all versions up above actually, and it happens with and without the 2.3 fix.

    incidentally, I noticed the text files in some of the deliveries have DOS line endings, even after converting them to Unix, I still get the same errors.

    google doesn’t seem to show anyone else reporting this, so what might be up?

  28. August 10th, 2008 at 22:19 | #42

    Will this plugin work on ver 2.6 of wordpress

  29. July 31st, 2008 at 17:38 | #43

    I want to use multiple themes to display different (not mirrored) content. Can this be done?

    For example, I’m using a default WP theme for my guitar lesson blog here: http://www.LogicalLeadGuitar.com/wordpress

    But I also want to do an online guitar magazine, using the Branford Magazine theme, which I hope to place here: http://www.LogicalLeadGuitar.com/magazine (obviously, this isn’t active yet).

    Certainly someone out there is running multiple blogs with different content, and using different themes?

    But how????

    Any help greatly appreciated.

    Adam

  30. July 28th, 2008 at 00:31 | #44

    used this on a friends blog and it worked no problem, but today i installed it on mine and once i “activate” the plugin i get this error:

    Warning: unserialize() expects parameter 1 to be string, array given in /htdocs/blog/wp-content/plugins/domain-mirror/WP-DomainMirror.php on line 47

    both of the blogs are running wp version 2.6

    any help on how to fix this?

  31. HobbesPDX
    July 24th, 2008 at 22:21 | #45

    Anyone else having problems with this plugin and WordPress 2.6?

  32. Jeff
    July 24th, 2008 at 13:36 | #46

    I’m running WordPress 2.6, with the 1.2beta / and the WP 2.3 fix of this plug-in and I’m getting:

    Warning: unserialize() expects parameter 1 to be string, array given in /wp-content/plugins/AA-DomainMirror/WP-DomainMirror.php on line 58

    Any ideas?

  33. neogecko
    July 22nd, 2008 at 21:55 | #47

    First off, I have found this to be an absolutely great plugin, incredibly useful and easy to configure. Recently I have been testing Wordpress 2.6 and the plugin is simply not working with it. Apparently they have decided to define the constant WP_CONTENT_URL on line 276 of wp-settings.php and the get_option(’siteurl’) function is not being filtered by the plugin. I think this is because the constant is being defined before activating the plugins, but I could be mistaken.

    I wanted to thank you for the plugin and see if you have had any thoughts on this change in WP 2.6. I would appreciate any suggestions or fixes you have come across, and I will be looking further into the issue on my own and I’ll be happy to share any findings I have on this as I find them.

    Cheers, ~n

  34. tristan
    July 18th, 2008 at 07:17 | #48

    Okay, at some stage soon after installing (not sure when) the plugin stopped working completely, and now won’t retain any of the information I save on the options page =(. Heh.

  35. tristan
    July 18th, 2008 at 05:39 | #49

    I installed it - easy, very cool, and I the settings are easy to input, but it just doesn’t work… - http://www.youcanstandundermyumbrella.com/ - if you have the time to offer suggestion DaveMc, it’d be appreciated.

  36. June 26th, 2008 at 23:55 | #50

    @DJSlim

    I always try to be nice - but I only approved it 5 minutes ago, so it couldn’t have been deleted.

    I’m not sure why your second domain won’t log in, as far as I remember I originally wrote it for 2.2, and am now running 2.5.1 and all functions, including logins, have always worked for both domains, unless cookies are rejected. That’s the only thing that caused it to fail for me.

    @Alexy

    If you edit the config.inc.php file you can add your domains in there and then won’t have to use the web interface at all. That’s probably the best way to add large numbers of mirrors.

    @Sergy

    At what point are you redirected? When you try to configure the 2nd record or when you try to access the site?

  37. June 26th, 2008 at 15:13 | #51

    Good day.
    I can’t add more than 1 mirror domain.
    When I tried to go to the second I was redirected to the main.
    Thank you, Sergey

  38. June 26th, 2008 at 12:22 | #52

    Exceelent plugin, BUT
    It’s uncomfortable to add more than 1 domain mirror. Because you should refresh you site each time when you want to add a mirror.
    How can I have more than one adding form.
    Thank you, Alexey.

  39. DJSlim
    June 24th, 2008 at 00:55 | #53

    I asked a simple question about your plugin. Waited like 3 days to have it approved and come back to find it deleted. Thats real nice.

    Here is my question again and hopefully this one doesn’t get deleted.

    I am trying to utilize the plugin. All works well with both domain names except for logging in on the mirrored domain. When you attempt to login from the mirrored domain it doesn’t let you. Using 2.3.3 with the correct versions of the plugin

  40. DJSlim
    June 20th, 2008 at 21:57 | #54

    I have this setup and it works perfectly except you can’t login using the mirrored domain.

    Any thoughts on this??

  41. June 14th, 2008 at 16:18 | #55

    Im looking for a plugin that is simple and clean like Domain Mirror, and that also let us choose a category or page to be shown on home page for each domain. With that we could even create subdomains to point to caterogies.

    If somebody knows a plugin that does that plz tell me shidou.hikari at g mail com

  42. June 14th, 2008 at 16:15 | #56

    I’m looking to a plugin that’s simple and clean like Domain Mirror, but that lets us choose a category or page to be shown oh home page for each different domain. With that we could even create subdomains to point to categories.

    If somebody know a plugin like that plz tell me spf01 at hikarinet info

  43. May 25th, 2008 at 15:05 | #57

    I’m try to use version 1.2+ “2.3patch” - and this perfectly working on 2.5.1

  44. May 17th, 2008 at 15:20 | #58

    I installed your plugin on http://www.nawaat.org/ and created a mirror subdomaine on dreamhost at http://map.plpp.org

    but when I try to visit the later (http://map.plpp.org) I’m redirected to http://www.nawaat.org, any idea how to solve this.

    many thanks for the pugin

  45. May 10th, 2008 at 23:31 | #59

    hi there .thanks for plugin:

    Does anybody know if tis script is compatible with Wordpress 2.5.1 ?

    Thanks in advance for any help on this!

    regards

  46. May 8th, 2008 at 16:24 | #60

    BTW, custom tags would also allow unique Google Analytics accounts to be used :)

  47. May 8th, 2008 at 16:22 | #61

    Dave, I can’t tell you how useful your plugin is going to be for me - I owe you a pint next time you’re in Edinburgh.

    One thing that would really hit it out of the park, though, would be the ability to define custom tags to use alongside the four standard tags. That would open up a whole new level of customization - for instance, different domains could feature entirely different graphics, different CSS files, Recent Posts lists specific to a category specific to that domain, and the ability to enter a unique block of text for each domain’s introduction would address Google’s duplicate content penalty.

    Essentially, you would have the convenience of running one installation of WP but the unlimited ability to customize each domain’s expression of it. Having followed the MU forums for quite a while, I can tell you that this is an ability that is much-wanted and continually requested but that MU is simply unsuited to. Your plugin, along with Dave Keen’s Sitemaps twist, would be a far better solution.

    So, do you think this is a feasible feature?

    Is it something you would be interested in adding?

    And, if not, do you think it would be a tricky customization for me to attempt myself?

    Thanks again for such great work.

  48. May 4th, 2008 at 19:20 | #62

    Hey all,

    I have written a small plugin that allows Domain Mirror to be used together with the Google XML sitemap so that you can have multiple domains pointing to the same Wordpress installation, but have one properly formatted sitemap for each domain (with the correct URLs in them).

    Description, downloads and instructions available at http://www.actionscriptdeveloper.co.uk/google-xml-sitemaps-mirror-wordpress-plugin

    Comments very welcome, and hope that someone finds it useful :)

    Dave Keen
    http://www.actionscriptdeveloper.co.uk

  49. April 30th, 2008 at 04:23 | #63

    I didn’t install the fix and it seems to be working. What does this fix do? Is it really needed?

    tnx a lot dude, I looked everywhere to a way to use multiple domains for my blog. Now I can do it :D
    really tnx!

  50. April 21st, 2008 at 22:44 | #64

    To all!

    We wanted to use Domain Mirror for linking up http://virtualization.com and http://virtualisation.com but were kinda suspicious if it wasn’t too bad for SEO. Turns out we were right to worry

    Please note that there is a high risk of getting penalties from Google because of duplicate content, which may affect both your URLs / websites rankings!

    See Google group discussion here:
    http://groups.google.com/group/Google_Webmaster_Help-Indexing/browse_thread/thread/ea60d87779470b6c#

Comment pages
  1. June 4th, 2007 at 20:12 | #1
  2. July 6th, 2007 at 06:43 | #2
  3. September 22nd, 2007 at 21:38 | #3
  4. March 31st, 2008 at 05:10 | #4
  5. April 27th, 2008 at 12:21 | #5
  6. April 27th, 2008 at 12:28 | #6
  7. May 4th, 2008 at 18:50 | #7
  8. May 15th, 2008 at 19:18 | #8
  9. September 2nd, 2008 at 01:44 | #9
  10. November 19th, 2008 at 14:34 | #10
  11. December 31st, 2008 at 08:01 | #11
  12. December 31st, 2008 at 13:46 | #12