Hi,
Also posted an issue to Github, but maybe some help from my fellow modx-ers can push me in the right direction.
I have two contexts needed to be routed.
flestic.com -> route to context 'flestic.nl'
flestic.com/en/ -> route to context 'flestic-en'
Debug info returns correct info (routing to correct context), but the routing doesn't take place.
Al requests are routed to flestic.com/en/
My context settings:
My Xrouting debug info for correct routing:
## MODX context map:
Array
(
[_hosts] => Array
(
[flestic.com] => Array
(
[0] => flestic.nl
[1] => flestic-en
)
[flestic.nl] => Array
(
[0] => flestic.nl
)
[fme.net] => Array
(
[0] => flestic.nl
)
[flestic.eu] => Array
(
[0] => flestic.nl
)
)
[flestic.nl] => Array
(
[base_url] => /
[cultureKey] => nl
[error_page] => 733
[http_host] => flestic.com
[http_host_aliases] => flestic.nl,fme.net,flestic.eu
[site_start] => 643
[site_url] => http://www.flestic.com/
[use_alias_path] => 1
)
[flestic-en] => Array
(
[base_url] => /en/
[cultureKey] => en
[error_page] => 859
[http_host] => flestic.com
[http_host_aliases] =>
[site_start] => 819
[site_url] => http://www.flestic.com/en/
[use_alias_path] => 1
)
)
## Requested URL: werkwijze/
## Requested URL with base_url: /en/werkwijze/
## Matched context(s) (Array key defines match quality):
Array
(
[1] => flestic.nl
[4] => flestic-en
)
## Request will go to context: flestic-en
## Modified request URL: werkwijze/
My Xrouting debug info for incorrect routing.
Request will go to context: flestic.nl ==> this doesn't happen, it routs to flestic-en
## MODX context map:
Array
(
[_hosts] => Array
(
[flestic.com] => Array
(
[0] => flestic.nl
[1] => flestic-en
)
[flestic.nl] => Array
(
[0] => flestic.nl
)
[fme.net] => Array
(
[0] => flestic.nl
)
[flestic.eu] => Array
(
[0] => flestic.nl
)
)
[flestic.nl] => Array
(
[base_url] => /
[cultureKey] => nl
[error_page] => 733
[http_host] => flestic.com
[http_host_aliases] => flestic.nl,fme.net,flestic.eu
[site_start] => 643
[site_url] => http://www.flestic.com/
[use_alias_path] => 1
)
[flestic-en] => Array
(
[base_url] => /en/
[cultureKey] => en
[error_page] => 859
[http_host] => flestic.com
[http_host_aliases] =>
[site_start] => 819
[site_url] => http://www.flestic.com/en/
[use_alias_path] => 1
)
)
## Requested URL: werkwijze/
## Requested URL with base_url: /werkwijze/
## Matched context(s) (Array key defines match quality):
Array
(
[1] => flestic.nl
)
## Request will go to context: flestic.nl
## Modified request URL:
Any clues of what's going on here?
Thanks!