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
November 5, 2025

Supported Database
MySQL

License
GPLv2

Supported Versions
2.8 - Current

Downloads
525

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.5

  • Don't switch to the context of the site_unavailable_page when the user has the view_offline permission.

Current releases

1.0.5
View | Download
November 5, 2025
2.8 - Current