SmartRouting is a simple plugin that handles requests for different contexts. It automatically switches the context based on a (sub)domain AND/OR subfolder.
It is a rewrite of the popular XRouting extra which was not updated since 2015. Many unfixed issues have arisen since then, including the lack of full PHP 8 compatibility.
October 15, 2023
2.8 - Current
Install through package manager and configure it by system settings. During the installation the XRouting settings are migrated and the XRouting plugin is deactivated.
New in 1.0.0-pl2
- Complete refactored code of XRouting:
- Use a service class to collect global settings and methods in one place to avoid duplicated code
- Separate the plugin events code into event based classes
- Fix some PHP warnings - i.e. PHP warning: Undefined array key "smartrouting-debug"