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
March 24, 2025

Supported Database
MySQL

License
GPLv2

Supported Versions
2.8 - Current

Downloads
333

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.3-pl

  • Use cultureKey cookie on switchContext() - thanks to Jens Wittmann https://github.com/jenswittmann
  • Show a log entry during clearing the SmartRouting cache

Current releases

1.0.3-pl
View | Download
March 24, 2025
2.8 - Current