Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to install multisite q2a in subdirectories- Thanks for your help.

+3 votes
asked Mar 16, 2017 in Q2A Core by john123
reshown Jul 10, 2017 by john123
I am just newbie in installing multisite q2a.

I want to install multiple q2a sites in - SUB DIRECTORIES.

Every site has its own database but they share same users accounts and logins.

Example -




How to set database prefix, user prefix and domain prefix ?

Thanks for your help.

1 Answer

+1 vote
answered Mar 16, 2017 by ProThoughts
commented Mar 17, 2017 by john123
Hi @ProThoughts !  Thanks for your answer.  I followed instructions for subdomain, but I can't find any instructions to install multisite in - SUBDIRECTORY.  

Does anyone know how to install multisite in ROOT DOMAIN and SUB-DIRECTORIES? @scott
commented Mar 18, 2017 by ProThoughts
@john123, just noticed you want to use diff db for each qa instance, it is bit complicated if you want to have one instance of q2a just for user access. You can think of wordpress SSO solution if you want to use diff db for each qa site.

If you want to use single db for all qa site then solution in answer we discussed works. hope this helps you.
commented Apr 12, 2017 by john123
@Prothoughts, I tried the solution with single db for all subsites. All databases integrate in single database but it does not integrate users on all sites. Only content. I want content to be different on all sites but userlogins would remain the same. In single db there are multiple user tables per site. That's why it does not share same users across all sites.