MODX EXTRA
ContextRouter
Creator: Mark Hamstra (markh)
1.2.0-pl (13 KB) Other Versions Need help installing this extra?About ContextRouter
For new sites, use XRouting instead. That has the same features, and then some.
ContextRouter is a simple plug-and-play plugin allowing you to use different contexts, and, based on the http_host context settings you need to set anyway, it routes your front-end requests as required.
Information
Instructions
Install the plugin and make sure your contexts have a http_host variable set. If it doesn't seem to route properly, try clearing the cache to update the context - http_host caching.