Trying to simplify/understand multi-site
-
I’m hoping to get some confirmation here that I am understanding what I’m reading re multi-site installation, and how/why it works, as well as ending with a couple of questions I’m still unclear on.
Multi-site allows you to create/host more than one site in a single instance of WordPress. That’s easy.
Multi-site can make use of ‘sub-domains’ or ‘sub-directories’. Also easy.
If using a ‘sub-domain’ method:
WordPress MUST be installed in the document-root directory, and Apache configured with a domain name pointing to WordPress
Sites created in WordPress must also be mapped in WordPress to the desired domain (via a WordPress plug-in)
DNS record of the desired domain points to the host server; Apache on the host server is configured to point to the WordPress domain, and WordPress, on recognizing the original domain request, points to the appropriate site.Am I right so far?
If using a ‘sub-directory’ method:
WordPress COULD be installed in a sub-directory of document-root, and Apache configured to point to this sub-directory
Sites created in WordPress do NOT need mapping
DNS record of desired domain points to the host server; Apache on the host server is configured to point to WordPress domain/siteNow the question is, am I anywhere close??
I’ve installed WordPress in a sub-directory of document-root, and activated the multi-site option as per the instructions posted here. (installed on a debian server, with apache and php 5.2.5) Because WordPress is in a sub-directory, my only option was to use sub-directories for my sites. My desire is to use WordPress to develop and serve the web pages without an obvious ‘redirection’ in the url. If someone goes to https://www.site1.com, I’d like the url to consistently read https://www.site1.com/page…
So here’s the real question: If I want site 1 to be accessed via https://www.site1.com, and site 2 to be accessed via https://www.site2.com, and not have the url display a redirect, do I use sub-domain? Or can I use sub-directory? And if I can use either, can you point me to the documentation that tells me that? And how? And why?
Apologies if the above sounds ignorant, but my eyeballs are bleeding after spending a week of searching/reading all I can find on multi-sites ??
- The topic ‘Trying to simplify/understand multi-site’ is closed to new replies.