The elements required to realize multi-site are as follows.
- QA_MYSQL_TABLE_PREFIX
- QA_MYSQL_USERS_PREFIX
- QA_BLOBS_DIRECTORY
- QA_COOKIE_DOMAIN
Definition in qa-config.php |
Value of main site |
Value of sub site |
QA_MYSQL_TABLE_PREFIX |
※1 |
※5 |
QA_MYSQL_USERS_PREFIX |
※2 |
※6 |
QA_BLOBS_DIRECTORY |
※3 |
※7 |
QA_COOKIE_DOMAIN |
※4 |
※8 |
※1 In default, it is "qa_". However, you can change it. For example, "qa1_", etc.
※2 Unnecessary
※3 You will need to enable and assign specific folder. In addition, you need to export blob data from DB to file system in "Admin" > "Stats".
※4 Unnecessary
※5 You need to define prefix other than "qa_" OR "qa1_". For example, it is "qasite1_" or ""qasite2_"" ...
※6 You need to define as "qa_". It must be same with QA_MYSQL_TABLE_PREFIX of main site.
※7 You need to assign folder same with main site. In addition, you need to export blob data from DB to file system in "Admin" > "Stats".
※8 You need to define top level domain. For exmaple, ".mydomain.com"
These are multi-site settings I understand.
In order to solve the problem, you need to show qa-config.php of each sites.