Welcome to WebmasterWorld Guest from 54.198.52.8

Forum Moderators: rogerd & travelin cat

Message Too Old, No Replies

Multisite Help Needed: Wordpress Not In root domain

     
4:53 am on Jan 4, 2016 (gmt 0)

Senior Member

WebmasterWorld Senior Member planet13 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:June 16, 2010
posts: 3823
votes: 29


I am having problems setting up a multisite because:

1) My wordpress installation is not in the root folder, and

2) I am using an addon domain.

For example, my wordpress installation is in an "addon" domain, meaning it is in the

public_html/mydomainnamefolder/

I want to create another wordpress site, but I want that site to appear in:

public_html/seconddomainname

When I go into multisite admin and click, Add New Site, it lists the path that will be created as

www.mydomainnamefolder.com/{enter site address here}

there doesn't seem to be any way to remove the "www.mydomainnamefolder.com/" part from the site address.

Any suggestions?

Thanks.
5:35 am on Jan 4, 2016 (gmt 0)

Administrator from US 

WebmasterWorld Administrator not2easy is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Dec 27, 2006
posts:3451
votes: 181


Multisite WordPress allows one installation of wordpress to host a network of "sub-domains" that are all virtual domains. They can be subfolders or subdomains. They can all share the same plugins and theme, or have their own. They will all have the same URL as your main installation along with a folder name after the URL of your main installation.

There is excellent step by step information at the Wordpress Codex site: [codex.wordpress.org...]

Regarding Multi-site installs:
A multisite network can be very similar to your own personal version of WordPress.com. End users of your network can create their own sites on demand, just like end users of WordPress.com can create blogs on demand. If you do not have any need to allow end users to create their own sites on demand, you can create a multisite network in which only you, the administrator, can add new sites.

A multisite network is a collection of sites that all share the same WordPress installation. They can also share plugins and themes. The individual sites in the network are virtual sites in the sense that they do not have their own directories on your server, although they do have separate directories for media uploads within the shared installation, and they do have separate tables in the database.
7:18 pm on Jan 13, 2016 (gmt 0)

Moderator

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 25, 2002
posts:8510
votes: 228


The old WPMU was much friendlier to actually running multiple sites on multiple domains off a single codebase.

I think now what you're looking for is the Domain Mapping plugin
[wordpress.org...]
7:23 pm on Jan 13, 2016 (gmt 0)

Moderator

WebmasterWorld Administrator ergophobe is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 25, 2002
posts:8510
votes: 228


But in your case, the easy solution is simply two codebases. If you want to install in two separate server directories on two separate domains using an add-on domain (I assume you mean the CPanel add-on, terminology unique the CPanel AFAIK), then just install two instances of WP, which has some advantages

As far as the directory structure, that depends on your CPanel permissions. Often you can create a new subdomain anywhere in your home directory and then map that subdomain to your add-on. But again, you may not have the permissions in which case you would need to file a support ticket.

If it's a VPS you can definitely do this.
4:14 pm on Feb 4, 2016 (gmt 0)

Senior Member

WebmasterWorld Senior Member planet13 is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:June 16, 2010
posts: 3823
votes: 29


@ ergophobe:

sorry for the late response, and thank you for pointing that out.

In the end, since it is a CPanel add-on domain, I did what you said and it seems to work fine.

Thanks so much,