Hello,
Option 1 doesnt really work for me https://processwire.com/api/modules/multi-site-support/ on pw 3.0.22
I have an installation. I copy the Site folder and call it site-de
if i modyfi the index.config.php eg
function ProcessWireHostSiteConfig() {
return array(
/*
* Some Examples (you should remove/replace them if used).
* Just note that the values must begin with 'site-'.
*
*/
'de.mydomain.com' => 'site-de'
// 'www.mydomain.com' => 'site-mydomain',
// 'dev.mydomain.com' => 'site-dev',
// 'www.otherdomain.com' => 'site-other',
/*
* Default for all others (typically /site/)
*
*/
'*' => 'site',
);
}
but i see only blank page or error 404 " 404 page not found (no site configuration or install.php available) " whats the Problem ? Or how to handle this on pw 3.0.22
Thanks