Allow sites to have multiple base URLs #17921
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Decided not to do this after discussing internally. If a request came in for Instead, the Cloud extension (e.g.) should start detecting requests where the host ends in
|
Beta Was this translation helpful? Give feedback.

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 usex.preview.craft.cloudas its selected base URL, but there’s no way Craft would be able to infer from that, that other sites should usex.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.x.preview.craft.cloudx.preview.craft.cloud/site/<handle>