logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$10
question about multisite and domain name

I use a multiste wp.

I buy 3 domains :
cars.com
house.com
phone.com

in my network of sites, i create many sites.
I use the mapping domain name.
In my network, i manage my 3 domaines :
cars.com
house.com
phone.com

Is it possible to have, in this wp multisite, this url for my sites ?

cars.com
cars.com/boston
cars.com/dallas
house.com
house.com/test
house.com/another
phone.com
phone.com/paris
phone.com/moscou

if it's possible, how is it possible ? :-)

Sébastien | French WordpressDesigner | 02/07/13 at 3:50pm Edit
Tutorial: How to assign prize money


(14) Responses

See a threaded view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    02/07/13
    3:54pm
    Francisco Javier Carazo Gil says:

    Sébastien,

    I have used this plugin http://ocaoimh.ie/wordpress-mu-domain-mapping/ to enable more sites with different domain, but using the main domain with subdirectories.

    I haven't used before the other option, creating directories in the secondary domains.

  • avatar
    Last edited:
    02/07/13
    4:14pm
    idt says:

    Hi,

    You may take a look at this plugin: http://premium.wpmudev.org/project/multi-domains/

    From the screenshot it seems like what you want to achieve though it's in the form of sub-domain.

    Thanks,
    idt

  • avatar
    Last edited:
    02/07/13
    4:18pm
    juaribd says:

    Use : define('WP_ALLOW_MULTISITE', true); in wp-config.php and while installing network , enable SUB-DIRECTORIES in option. Please check the image attached.

    attachment image expert uploaded image

  • avatar
    Last edited:
    02/07/13
    5:13pm
    jazbek says:

    I have done this exact setup before. The best way to do it is to use the plugin:

    http://wordpress.org/extend/plugins/networks-for-wordpress/

    After you have converted to multisite, in your wp-config.php, enter this:

    define( 'SUBDOMAIN_INSTALL', false );


    This will make it possible to create separate sites in each network using subdirectories. So here is what you will have:

    Network 1: Cars

    Site 1: http://cars.com (root site for the Cars network)
    Site 2: http://cars.com/boston
    Site 3: http://cars.com/dallas


    Network 2: House

    Site 4: http://house.com (root site for the House network)
    Site 5: http://house.com/test
    Site 6: http://house.com/another


    etc.

    Please let me know if you have any questions I can answer, I am very familiar with this setup.

    Previous versions of this answer: 02/07/13 at 5:13pm | 02/07/13 at 5:13pm

  • avatar
    Last edited:
    02/09/13
    11:39am
    yambem says:

    Hello Sebastien,

    In my approach you can achieve the solution in the following way:

    At first, let's suppose you have wp-multisite network with
    main domain: www.wpnetwork.com and you have other subdomain site
    like: sub1.wpnetwork.com, sub2.wpnetwork.com, sub3.wpnetwork.com.....etc.

    Now you know how to map your main domains to the network:

    Cars.com ->sub1.wpnetwork.com
    House.com->sub2.wpnetwork.com
    Phone.com->sub3.wpnetwork.com

    I feel that you had the idea upto this point. Next step will be as follows:

    Step-1. Create subdomain of cars.com as cars.com/boston
    Step-2. Now in your DNS zone create "A" record of "cars.com/boston" pointing to "sub4.wpnetwork.com"

    Repeat the above process for every subdomain you want and point the A record to subsequent
    wordpress network: sub5.wpnetwork.com, sub6.wpnetwork.com.......go on.

    In this way when you access cars.com/boston, you'll get the site at sub4.wpnetwork.com

    If you find any difficulty in setting up the steps I have mentioned, just follow up with
    your problem.

  • avatar
    Last edited:
    02/07/13
    3:56pm
    Francisco Javier Carazo Gil says:

    Maybe a network of networks: http://wordpress.org/extend/plugins/wp-multi-network/

  • avatar
    Last edited:
    02/07/13
    4:31pm
    Sébastien | French WordpressDesigner says:

    I know to create a network and use the mapping domain name.
    My question is : is it possible to manage in a same network this domain name :
    cars.com
    cars.com/boston
    cars.com/dallas
    house.com
    house.com/test
    house.com/another
    phone.com
    phone.com/paris
    phone.com/moscou

    does it make sense for you ?

  • avatar
    Last edited:
    02/07/13
    4:31pm
    Sébastien | French WordpressDesigner says:

    I know to create a network and use the mapping domain name.
    My question is : is it possible to manage in a same network this domain name :
    cars.com
    cars.com/boston
    cars.com/dallas
    house.com
    house.com/test
    house.com/another
    phone.com
    phone.com/paris
    phone.com/moscou

    does it make sense for you ?

  • avatar
    Last edited:
    02/07/13
    4:47pm
    idt says:

    If you take a look at the description and screenshot for that plugin, you'll see that there are multiple domains on that single multiste installation. And I suppose you can assign any blog to be a subdomain/folder to either domain you've setup for that single wordpress multisite installation.

    Using that plugin will make what you want to achieve possible.

  • avatar
    Last edited:
    02/07/13
    5:32pm
    Sébastien | French WordpressDesigner says:

    oh yes, it's probably a solution :-)

  • avatar
    Last edited:
    02/07/13
    5:57pm
    Sébastien | French WordpressDesigner says:

    that seems to be a good solution !
    Maybe i will send you a message about that :-)

  • avatar
    Last edited:
    02/09/13
    11:50am
    Sébastien | French WordpressDesigner says:

    it's a solution :-)
    but i search a handly solution for my client = simple settings in the backoffice of wordpress
    thanks

  • avatar
    Last edited:
    02/09/13
    2:44pm
    yambem says:

    Hello Sebastien,

    For this kind of solution you'll be always required to have changes in the DNS setting.
    Just making the setting in the backoffice of the wordpress can't make it.

    Otherwise you can just setup 3 wordpress multisite for each main domain name: cars.com,
    house.com, phone.com. In this case you should have 3 admin backoffice.

    These are the only two options you have for the solution you required

  • avatar
    Last edited:
    02/09/13
    3:08pm
    Sébastien | French WordpressDesigner says:

    you're right, i understand.
    But with your process, i need to change dns for each site I create.
    With plugins, it seems I managed the dns settings just for the main sites.

This question has expired.





Current status of this question: Community pot



Please log in to add additional discourse to this page.





Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.