otago/subsites-domains
Easy management of domains
Maintainers
Package info
github.com/otago/subsites-domains
Type:silverstripe-vendormodule
pkg:composer/otago/subsites-domains
Requires
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
BSD-3-Clause 0b601c30893f0568ece0144e7362dc2a30de2e8c
README
This add-on makes allows you to easily link to other subsites in the CMS, set dev and test domains, and override domains in your configuration file.
Features
Create a link to a different subsite in the CMS
👁 Picture of the subsite link selector
Create virtual pages that have their own template
silverstripe/silverstripe-subsites#235
Access the CMS interface by navigating to subsite.domain/admin
You'll be redirected to the main SilverStripe interface if trying to access /admin on a subsite.
Set different domains for Test and Dev mode in the CMS
👁 Setting the Test and Dev domains
Override local development domains in your config file
This makes it handy while developing your SilverStripe domains locally. Because developers have different preferences for their domain naming conventions, this lets them set it to what they want. All while not disturbing the main dev and test site settings.
In .env:
DEV_SUBSITE_0=https://maindev.company.domain
DEV_SUBSITE_1=http://local.project1
DEV_SUBSITE_2=http://local.project2
DEV_SUBSITE_3=http://local.project3
Bypass the stage while accessing a subsite
If you try to access a subsite from the CMS, you'll be redirected to authenticate. This will fail if you're using a single sign in solution. As a result, stage= is blank.
