Skip to content

Ignores the URL parameter of the site when using multisite #199

Description

@lotarbo

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

Activity

  1. lotarbo commented on Apr 14, 2025

    @lotarbo
    Author

    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.

  2. adnweedon commented on Dec 2, 2025

    @adnweedon

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions