Extras catalogue
XRouting
Latest release 3 years ago (April 19, 2023).
xrouting
About
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.
Installation & usage
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
At a glance
MODX 3 compatible.
- Developer seda.digital
- Latest release April 19, 2023 (3 years ago)
- First seen in SiteDash May 20, 2015 (11 years ago)
- License GPLv2
- MODX support 2.2 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.5.0-pl |
April 19, 2023
3 years ago |
|
|
<p>XRouting 1.4.1-pl (2015-05-20)===========================================</p><p>- added missing lexicons for allow_debug_info setting- added german lexicons</p><p>XRouting 1.4.0-pl (2015-05-20)===========================================</p><p>- replaced php constant for MODX_BASE_URL- added new optional debug output (switch the allow_debug_info system setting to "Yes" and add &xrouting-debug=1 to your URL)</p><p>XRouting 1.3.0-pl (2014-09-18)===========================================</p><p>- added support for MODX installs in a subfolder- fix "Warning: Invalid argument supplied for foreach()"</p><p>XRouting 1.2.0-pl (2014-03-17)===========================================</p><p>- this releases fixes some problems with rewriting the request url</p><p>XRouting 1.1.0-pl (2014-02-24)===========================================</p><p>- small refactoring for quicker host-based matching- bugfix for contexts with same host where one base_url is '/'- added setting to include www subdomain: xrouting.include_www- added setting to eigher show an error or a default context when no match has been found: xrouting.show_no_match_error- added setting for a default context (if no match was found and xrouting.show_no_match_error is false): xrouting.default_context</p><p>XRouting 1.0.0-pl (2014-02-01)===========================================- first public release</p>
|
|||
| MODX.com |
1.4.1-pl |
May 20, 2015
11 years ago |
|
|
<p>XRouting 1.4.1-pl (2015-05-20)===========================================</p><p>- added missing lexicons for allow_debug_info setting- added german lexicons</p><p>XRouting 1.4.0-pl (2015-05-20)===========================================</p><p>- replaced php constant for MODX_BASE_URL- added new optional debug output (switch the allow_debug_info system setting to "Yes" and add &xrouting-debug=1 to your URL)</p><p>XRouting 1.3.0-pl (2014-09-18)===========================================</p><p>- added support for MODX installs in a subfolder- fix "Warning: Invalid argument supplied for foreach()"</p><p>XRouting 1.2.0-pl (2014-03-17)===========================================</p><p>- this releases fixes some problems with rewriting the request url</p><p>XRouting 1.1.0-pl (2014-02-24)===========================================</p><p>- small refactoring for quicker host-based matching- bugfix for contexts with same host where one base_url is '/'- added setting to include www subdomain: xrouting.include_www- added setting to eigher show an error or a default context when no match has been found: xrouting.show_no_match_error- added setting for a default context (if no match was found and xrouting.show_no_match_error is false): xrouting.default_context</p><p>XRouting 1.0.0-pl (2014-02-01)===========================================- first public release</p>
|
|||
|
No matching releases. |
|||
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.