Is there a way to disable non-primary sites on a multisite setup so that users are redirected to a 503 template?
I can't see any configurations that allow me to to this. All sites are either disabled or live.
Craft CMS Stack Exchange is a question and answer site for administrators, end users, developers and designers for Craft CMS. It only takes a minute to sign up.Sign up to join this community
Seems like this is something you'd do from your .htaccess file or public index.php files for each of the non-primary sites you define.
For example if you have a
public_html/index.php for your English primary site and a
public_html/de/index.php for your German site, your German one would just
header("Location: http://mysite.com/503"); to redirect.