• Hi,

    I apologise if this is a stupid question, but everything I have read about running ‘multiple’ WP sites doesn’t quite fit that I can see.

    Say I create a wordpress site under http://www.mydomain1.com and populate it with content. Now say that want to add another domain called http://www.mydomain2.com and have the same site come up under that too. How can this best be acheived? I am open to code changes or plugins.

    (Names changed to protect the innocent)

    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Craig –

    Curious to know if you have already found a solution to this issue. I am trying to do something similar. If I understand correctly, the WordPress MU Domain Mapping plugin would handle this sort of situation nicely, but I am curious to hear from someone who might have done this already.

    Cheers,
    Bob Mack

    The Domain Mapping plugin that bmack94536 speaks of will work, but it will redirect the domain to the main domain and not mirror it. Is that would you want, or do you want it completely mirrored?

    We’re changing our company’s web address so I’d like to mirror both domains for a while so as to not lose people who might be visiting old links. But I don’t want to have to maintain 2 separate domains, both of which will include numerous sub domains.

    Of course, I may be wrong in thinking to do things in that manner. Perhaps I am better off just making the switch at some point and letting the old domain go to avoid duplication?

    I’d recommend not mirroring the site, the “domain mapping” plugin should redirect links correctly if the domains are mapped to the same site. MIrroring a site will create duplicate content, and search engines don’t like that.

    I’d actually recommend making an .htaccess file on the old domain and have it redirect to the new one. It’s much simpler.

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^www.olddomain.com$[OR]
    RewriteCond %{HTTP_HOST} ^olddomain.com$
    RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]

    I appreciate your thoughts and I expect you are correct.

    Cheers!

    Thread Starter CraigW

    (@craigw)

    I didn’t find a solution yet and am stuck with redirects.

    Is there no way to remove the url setting in wordpress and render all links starting / instead of http:// ?

    Thread Starter CraigW

    (@craigw)

    I just found a plugin that does it. It’s called ‘Any Hostname’ and seems to do just what I needed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Let WP respond to all domains with the same site’ is closed to new replies.