SmartRouting

Switch the context based on a (sub)domain and/or subfolder

Creator: Thomas Jakobi (jako)

Need help installing this extra?

About SmartRouting

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.

Information

Released
October 15, 2023

Supported Database
MySQL

License
GPLv2

Supported Versions
2.8 - Current

Downloads
153

Documentation
SmartRouting Documentation

Instructions

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"

Current releases

1.0.1-pl
View | Download
January 9, 2024
2.8 - Current