• I have successfully parked 8 domains on top of a second site, or site2.mydomain.com

    Now, I need to park a domain, let’s called it newdomain.com on top of mydomain.com and have it show the main install, not the site2 blog.

    When I park newdomain.com on top of mydomain.com and then call it up, I get a message “cannot find newdomaincom.mydomain.com”

    It seems the plugin is looking for a blog created called newdomaincom rather than simply redirecting to blog 1.

    Can anyone tell me how to do this, so I can park on top of main blog and keep my other parked domains on domain2?

    Thanks

    https://www.ads-software.com/extend/plugins/wordpress-mu-domain-mapping/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    Domain mapping does not allow you to map a domain to the main site.

    I also would have liked to be able to add domains for my main site. It is common to have more than one domain for a site. Eg. mysite.com, my-site.com, mysite.tv, etc. My main site is the last site I developed on my network of which the primary domain was elsewhere. I used another domain in the mean time for the main site. Now that the main site is complete I would like to transfer the domain, but just realised I cant add it. Pity, I guess I’ll have to create a new site and move all the data and keep the main site blank?

    This is a great plugin, but when installing I didnt notice that one wouldnt be able to add domains to the main site.

    Plugin Author Ron Rennick

    (@wpmuguru)

    If you want more than one domain to go to the main site then use a redirect in your DNS or .htaccess to redirect the second domain to the main site.

    Thanks Ron. Can you tell me how the .htaccess should look? How should this be different?:
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule . index.php [L]

    And should the new domain be parked on the old one?

    Plugin Author Ron Rennick

    (@wpmuguru)

    My issue is that I want a new domain as my primary domain on the main site. Redirecting wont do.

    Plugin Author Ron Rennick

    (@wpmuguru)

    Then your choices are create a fresh install with that domain as the main site or edit the database and change the URL. Only go with the second option after you have made a complete DB backup & you know all the locations where the domain/url needs to be changed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WordPress MU Domain Mapping] parking one domain on MAIN site (site 1) and other domains on’ is closed to new replies.