• MODX.com

    7,840 downloads

XRouting

XRouting is an extra by seda.digital, first released on 2015-05-20.

Package Description

XRouting is a simple plugin that handles requests for different contexts. It automatically switches the context based on a (sub)domain AND/OR subfolder. It's like the Gateway plugin from the docs, except you don't have to manually edit the plugin: it takes the http_host and base_url settings you have already configured in your context and routes based on that. It caches the http_host/base_url => context relation so it doesn't perform excessive database lookups. You can find a [tutorial](https://modx.today/posts/2015/05/using-xrouting-for-multilingual-websites-in-modx) on modx.today.

Usage/Installation Instructions

All you need to do is to install this plugin and make sure your contexts have "http_host" and "base_url" context settings set (and optional "http_host_aliases" for multiple domains per context).

You can find a tutorial at MODX.today: https://modx.today/posts/2015/05/using-xrouting-for-multilingual-websites-in-modx

Details

Developer(s)
seda.digital
Released
2015-05-20
First seen
2015-05-20
License
GPLv2
Supported databases
Minimum MODX Requirement
2.2

XRouting Releases

Vendor Signature Released on
MODX.com 1.5.0-pl 2023-04-19 (2 years ago)
MODX.com 1.4.1-pl 2015-05-20 (10 years ago)

We've also seen 4 unverified versions of XRouting in use, but don't list those as we've been unable of confirming they are official releases from an official source.