Skip to content
Discussion options

You must be logged in to vote

Decided not to do this after discussing internally.

If a request came in for x.preview.craft.cloud, that could inform that the current site should use x.preview.craft.cloud as its selected base URL, but there’s no way Craft would be able to infer from that, that other sites should use x.preview.craft.cloud/nl (or whatever) as their selected base URLs as well. So it’s not a perfect solution.

Instead, the Cloud extension (e.g.) should start detecting requests where the host ends in preview.craft.cloud, and override each site’s base URLs on its own.

  • Primary site: x.preview.craft.cloud
  • Secondary sites: x.preview.craft.cloud/site/<handle>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brandonkelly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
sites 🌎 features related to multi-site
2 participants