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 30, 2025

Supported Database
MySQL

License
GPLv2

Supported Versions
2.8 - Current

Downloads
494

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.4-pl2

  • Fix not routing to the right context, when the url is the base url of a target context and does not contain a trailing /
  • Regard the system/context setting site_status and site_unavailable_page when switching to the target context

Current releases

1.0.4-pl2
View | Download
October 30, 2025
2.8 - Current