Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

question about multisite and domain name WordPress

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 ? :-)

Answers (5)

2013-02-07

Francisco Javier Carazo Gil answers:

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.


Francisco Javier Carazo Gil comments:

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

2013-02-07

idt answers:

Hi,

You may take a look at this plugin: [[LINK href="http://premium.wpmudev.org/project/multi-domains/"]]http://premium.wpmudev.org/project/multi-domains/[[/LINK]]

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

Thanks,
idt


Sébastien | French WordpressDesigner comments:

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 ?


idt comments:

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.


Sébastien | French WordpressDesigner comments:

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

2013-02-07

juaribd answers:

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


Sébastien | French WordpressDesigner comments:

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 ?

2013-02-07

jazbek answers:

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
<blockquote>
Site 1: http://cars.com (root site for the Cars network)
Site 2: http://cars.com/boston
Site 3: http://cars.com/dallas
</blockquote>

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

etc.

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


Sébastien | French WordpressDesigner comments:

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

2013-02-09

yambem answers:

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.


Sébastien | French WordpressDesigner comments:

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


yambem comments:

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


Sébastien | French WordpressDesigner comments:

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.