4

I pondered this for a while, and then did this, which will direct us to specific entries (not templates, I don't want to create more of those): {# We need a unique 404 for each site - just take us to the right slug relative to current URL #} {% switch currentSite.id %} {# siteA.com #} {% case 1 %} {% redirect '/my-404-slug' %} {# siteB.com #} {% ...


1

The problem is that the force ww redirect isn't setup correctly. This must be setup like this: # Force www # ----------------------- RewriteCond %{HTTP_HOST} ^domain-a.com [NC] RewriteRule ^(.*)$ https://www.domain-a.com/$1 [L,R=301,NC] RewriteCond %{HTTP_HOST} ^domain-b.com [NC] RewriteRule ^(.*)$ https://www.domain-b.com/$1 [L,R=...


1

That would probably be the Propagation Method setting in the channelĀ“s settings. There you can choose "Only save entries to the site they were created in" (among other options). The thing is not your template path, but that the entry is stored to both sites (which is useful for, say, two sites that are just different language versions of the same site, and ...


1

I had the same question and here is a way to have assets in separate root folders using aliases with Site handles: How do I dynamically define Asset Volumes' Base URLs for different Sites?


Only top voted, non community-wiki answers of a minimum length are eligible