WordPress.org

Ready to get started?Download WordPress

Forums

WordPress 3.0 and Domain Mapping (32 posts)

  1. Floyd-out
    Member
    Posted 4 years ago #

    Hi all,

    I'm trying to install multi sites with WordPress 3.0

    I've correctly set up all my different sites and it works perfectly, using sub-directories :

    ie: http://www.mainblog.com
    http://www.mainblog.com/blog2/
    http://www.mainblog.com/blog3/
    etc...

    I would like now to map specific domains for each of my sub-sites :
    http://www.mainblog.com/blog2/ => http://www.blog2.com
    http://www.mainblog.com/blog3/ => http://www.blog3.com

    I've installed the WordPress MU Domain Mapping but I don't understand how to use it...

    Is there something I should set up in each site admin ? Do I need to change "domain" and "path" information ? Where can I specify the name of the domain I want to map ?

    Thanks a lot for your help !

    +++
    Floyd

  2. Bettega
    Member
    Posted 4 years ago #

    I'm eagerly waiting for this answer too :)

  3. I wrote how to use it here:
    http://wpwebhost.com/using-multiple-domains-with-wordpress-mu/

    (if it says it won't work with subfolder blogs, ignore that part. It does now. :) )

    The short version is: you have to log in to the backend of the blog you want to map a domain to. then look under the "Tools" menu.

    this plugin works better and is automatically run on all blogs if you put the file in the mu-plugins folder.

  4. Floyd-out
    Member
    Posted 4 years ago #

    Thanks a lot Andrea, this works now !

    Do you how I could add a www subdomain to all domains mapped ?

    It keeps on redirecting me to http://blog2.com and I want a http://www.blog2.com address !

    Thanks !

  5. CHeck to make sure your server's not stripping it out and you've put the www in there when you mapped it.

    I know mu used to strip out the www, but 3.0 doesn't. I haven't fully tested that part yet, so take good notes. ;)

  6. Bettega
    Member
    Posted 4 years ago #

    Thanks, Andrea!

    The article is also valid to WordPress 3.0 ou just WordPress MU? :)

  7. Same process, yes. Mostly because the bulk of the setup is on the server side & with DNS records.

  8. anup
    Member
    Posted 4 years ago #

    W.r.t WPMU, I find that there are two plugins:

    1) domain mapping, (ref: above)
    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

    and another one goes by the name:
    2) multisite manager
    http://www.jerseyconnect.net/development/multisite-faq/.

    Do they perform the same function?

    thanks

  9. No, they do not.

    multi-site is a term originally used on wordPress MU for a different purpose. Note the second plugin has also not been updated for some time.

  10. ousep
    Member
    Posted 4 years ago #

    I'm in the process of migrating a dozen sites or so to a single WP 3.0 site, using domain mapping. There seems to be some sort of javascript error, on account of plugins calling siteurl to define paths to the js files. It appears that the domain mapping plugin _is_ performing some checks on whether siteurl is called... but that doesn't seem to be working for me.

    So, my solution was to go into the database and redefine siteurl for the problem site to the same as the mapped domain. Things run smooth after that. But, is that the right way to go about doing it?

    <aside>If only I'd known I could have done it with a subfolder structure... would make my work a wee bit easier.</aside>

  11. Sure, if it works. Also if you want to hide the originating subdomain.

    Dang, does the plugin say it only works on subfolder installs?

  12. ousep
    Member
    Posted 4 years ago #

    Thanks... that puts my mind at ease.
    More than hiding the subdomain, it was necessary because of the cross-domain javascript problem. It works fine, so far... have only tested it on one domain so far, and if this works smooth, I'll probably do it on all the others.

    I hadn't read the changelog when I installed it. I just remembered it from when I last tried it out, and at that time only subdomains were supported.

    Thanks, once again.

  13. Yep, there's a for-pay domain mapping plugin that swaps out all subdomain references when you map a domain. Works dandy.

    and of course, you can manually change those values.

  14. bhadresh08
    Member
    Posted 4 years ago #

    I am using WordPress MU 2.9.2 with domain mapping plugiin.
    but i am facing www striping problem. Can any one know that how i can solve it?

  15. thecoup
    Member
    Posted 4 years ago #

    If Domain Mapping now works for sub-directories, is there any reason to setup 3.0 with sub-domains? It might be a preference for some people, but are there intrinsic advantages for people running distinct sites with unique web addresses?

    Choosing subdomains or sub-directories is a big decision to make, and a bigger one to un-make. I can't find a compelling reason to choose one or the other.

  16. Jason Pelker
    Member
    Posted 4 years ago #

    @Andrea

    Do you have a url for that pay-to-use domain mapping plugin that swaps out the subdomain references?

    Thanks!

  17. nexeninc
    Member
    Posted 4 years ago #

    Hi All,

    Looking at aggregating all of our WP sites into one WP3.0 install.

    Will these all work?

    site1.url.com
    site2.url.com
    site3.url.com
    site4.url.com
    site5.url.com
    site5.url.com/web
    site5.url.com/dev
    site5.url.com/comms

    Doing a complete server/blog rebuild and want to do it right the first time.

    Thanks!!!

  18. @jpelker you know my blog? the tutes one? Link at the top.

    @nexenic you can;t map subfolders. ;) You CAN use what was called multisite in mu - yes there are plugins for this. That makes the blog have sub-blogs under it. Which, in your example site5.url would be another network within the same subdir setup.

  19. Peter Holme
    Member
    Posted 4 years ago #

    Hi! I've just installed the domain mapping plugin - and it works great!

    The only issue I have is with user registrations. Scenario:

    1. my site is at maindomain.net
    2. I create a subdomain blog and map it to mappeddomain.net
    3. someone visits mappeddomain.net and try to register (as a subscriber), by using the link http://mappeddomain.net/wp-login.php?action=register from the "meta widget"

    What happens here is that the user first is redirected to mappeddomain.net/signup.php, and then immediately to maindomain.net/signup.php, which is a completely diffferent blog - different look, and of course, different domain name, which would be very confusing to users. Additionally, in the mail you get when you register, the link supplied is to maindomain.net... And the user is not even added to the blog at mappeddomain.net, so when he tries to log in, he gets a page telling him "You don’t have permission to view this site. Please contact the system administrator."

    Any thoughts on this?

  20. Yep, default behaviour. :)

    But again, there's a plugin for that, I just gotta go find it again....

  21. joshmac
    Member
    Posted 4 years ago #

    @andrea_r, were you thinking of this plugin http://wpmudev.org/project/wpmu-blog-registrations

  22. That was probably it. :D

  23. Peter Holme
    Member
    Posted 4 years ago #

    that's incredible :) have now merged 3 previously individual WP installs into one multisite install.. with this plugin, all is working well!

  24. cinematic
    Member
    Posted 4 years ago #

    I have succesfully installed the domain mapping plugin.

    I have a parked domain at godaddy and want to map it with my wp3 install with another hoster, where I have my multisites in subfolders.

    I am trying to figure out how to configure my parked domain. If I forward it to the subfolder I am getting the message that the request cannot be completed because there is an endless loop. I have read about CNAME settings but I cannot enter a subfolder here. Does anybody have a tip for me?

  25. George Lerner
    Member
    Posted 4 years ago #

    @cinematic, Can't tell if you've done this: GoDaddy can be the registrar for the domain, but the GoDaddy Nameserver records should be pointing to your "another hoster", You'll probably need to talk to AnotherHoster tech support to find out what info to give GoDaddy, and have them (AnotherHoster) point the domain name at your account.

    Try setting up WildCard DNS through CPanel, instead of changing CNAME settings (see Wildcard DNS on a Shared Hosting Account ). Does the same thing, but you don't have to wait on tech support.

    On many (all? most? at least mine!) CPanel hosting accounts each parked domain lives as a folder off of public_html. If you try to create http://chess.games.mydomain.com, it will be in the public_html/chess folder (not the public_html/games/chess folder). That affects how you should configure any redirects.

  26. cinematic
    Member
    Posted 4 years ago #

    thank you for your tipps, lernerconsult. I will have a look at the options with wildcard DNS ...

  27. madfastride
    Member
    Posted 3 years ago #

    I'm not entirely sure if this is going to do what I need. So I'd like to explain that and see if anyone has any input. Sorry if I missed this or it's a dumb question.

    I'd like to have multiple sites under one 3.0 install. The reasoning behind this is that I'm interested in upgrading all the plug-ins and having access to all the sites from one interface.

    The second part is I'd like to have admins that only have access to one site or another and not the original install. Is this possible with 3.0's domain mapping functionality?

    Thanks!

  28. seorchers
    Member
    Posted 3 years ago #

    I have the domain mapping setup and am working with a couple of sites that are now live.

    http://gautobody.expandyourwebpresence.com/ is mapped to http://bodyshopaz.com/

    http://2eastvalleyhomes.expandyourwebpresence.com/ is mapped to http://www.2eastvalleyhomes.com/

    However, if you go to any sub page beyond the home page it routes to the original subdomain. How do I keep it on the domain itself instead of referring to the original subdomain?

    ***Update: I had not moved the domain-mapping.php file to the mu-plugins folder. This solved the problem.***

  29. nirzol
    Member
    Posted 3 years ago #

    Hello
    I trying mapping domain.
    Want http://www.ffxivonline.fr -> http://finaladdict.com/finalfantasyxiv

    Want to know if I have to change my dns on gandi with ovh ?

    Thx a lot

  30. scaturan
    Member
    Posted 3 years ago #

    imho, Gallery 2 handles multisites in a very beautiful manner - http://codex.gallery2.org/Gallery2:Multisite

    I hope the WordPress devs will look how it does it fairly well. Rock solid for 200+ G2 multisites I help maintain. :)

Topic Closed

This topic has been closed to new replies.

About this Topic