I have a Sub-domain Multisite using Trellis, Bedrock. Stage switcher URLs are acting strange:
From Dev the Staging link leads to subdomain.example.com// and Production (which I have not worked on yet) has the same address.
From Staging the Dev link leads to subdomain.staging.example.dev// and Production to subdomain.staging.example.com//
However, when on the root domain of example.dev or staging.example.com all links look fine…
This is on the application.php
/* Stage switcher plugin */
$envs = [
‘development’ => ‘http://pagesforsages.dev’,
‘staging’ => ‘http://staging.pagesforsages.com’,
‘production’ => ‘http://pagesforsages.com’
Would the Dev sub-domains not being added cause this?
- canonical: example.dev