How do i achieve Multisite routing in statamic

255 views Asked by At

I have a multisite setup with a page collection that looks like this

title: Pages
sites:
  - TypischAtopisch
  - TypischHeuschnupfen
  - TypischNeurodermitis
propagate: false
template: default
layout: layout
revisions: false
route: '{parent_uri}/{slug}/'
sort_dir: asc
structure:
  root: true

the page collection folder looks like the image below,

enter image description here I expect to be able to visit each page (e.g community) via a URL like /community however I get an error (second image) enter image description here. How do I proceed?

1

There are 1 answers

0
emd On

Like I mentioned on discord, it looks like you're tying to get a global that doesn't exist