Skip to content

SmartRouting is a simple plugin that handles requests for different contexts in MODX Revolution. It automatically switches the context based on a (sub)domain AND/OR subfolder.

License

Jako/SmartRouting

 
 

Repository files navigation

Default Lexicon

SmartRouting

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

Features

  • Switch the context based on a (sub)domain AND/OR subfolder.
  • Define the routing based on the http_host and base_url context settings.
  • Cache the http_host/base_url => context settings to avoid database lookups on page load.

Installation

MODX Package Management

Documentation

For more information please read the documentation.

License

The project is licensed under the GPLv2 license.

Translations

Translations of the package can be made for the Default Lexicon and the System Setting Lexicon

About

SmartRouting is a simple plugin that handles requests for different contexts in MODX Revolution. It automatically switches the context based on a (sub)domain AND/OR subfolder.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 93.8%
  • JavaScript 6.2%