ssg icon indicating copy to clipboard operation
ssg copied to clipboard

Ignores the URL parameter of the site when using multisite

Open lotarbo opened this issue 9 months ago • 2 comments

Hi, I want to try ssg to use for multisite. Now I've tested it - I get a strange result, it seems that URL is ignored. I have two sites and want to put them on two separate domains.

en:
  name: en
  locale: en_US
  url: 'https://example.en'
es:
  name: es
  locale: es_ES
  url: 'https://example.es'

and it looks like this after running php please ssg:generate but I've got pages for every version statamic: 5.53.0 statamic/ssg: 3.1.1 Image

lotarbo avatar Apr 11 '25 15:04 lotarbo

I made a bit of a mistake here, it's probably not logical to make folders using URLs, it seems more logical to use handle. But in this case, there is no separation between sites.

lotarbo avatar Apr 14 '25 09:04 lotarbo

I'm having this same problem - I'd love a solution for this. In an ideal world for me, one run would generate each site out into their own folders, but I could get around the problem if I could limit the SSG to generating a single site at a time?

adnweedon avatar Dec 02 '25 15:12 adnweedon