Hi, We are running into an issue with the plugin. We have 3 urls:
- example1.com
- example2.com
- example3.com
We've created aliases for these domains in directadmin:
- example2.com points to example1.com
- example3.com points to example1.com
All is well..
We've created bindings for these domains:
- example1.com binds to theme1 and page1 of theme1
- example2.com binds to theme1 and page2 of theme1
- example3.com binds to theme2 and ALL_THEME_PAGES_WITH_ROUTE_PATCH
theme1 is the default theme selected in the settings.
example1.com and example2.com work as expected. example3.com does not change the theme to theme2 on the frontend. It loads the default theme (theme1).
If i go to example3.com/backend, theme2 is activated as current theme.
Enabling 'Allow debug mode with Url output' gives the following result when going to example3.com:
array:14 [▼
"theme" => "theme2"
"pageurl" => ""
"backfront" => "nouse"
"usergroup" => ""
"linksreplace" => 0
"params" => ""
"prefix" => ""
"suffix" => 999
"addget" => 0
"rempagevar" => 0
"domain" => "http://example3.com"
"domain_with_suffix" => "http://example3.com"
"is_protected" => 0
"url" => ""
]
So it looks like it tries to load the right theme. But it always shows theme1(default). It even redirects to example3.com/en as it should in theme2. But still shows theme1.
Thanks!
Last updated