- Compatible XF Versions
- 2.1
- Visible Branding
- No
- Additional Requirements
-
XenForo 2.1.0+
PHP 7.2.0+
Route on Subdomain
This add-on allows setting routes to be used on specific subdomains.
Installation
After installing the add-on like you would install any other add-on, you must add these lines to your config.php:
Replacing <example.com> with your own host. You'll also need to update nginx/apache/etc host configuration file to support wildcard.
Once above lines are added you can enable routes on subdomain via ACP > Setup > Navigation > Routes on subdomain.
This add-on allows setting routes to be used on specific subdomains.
Installation
After installing the add-on like you would install any other add-on, you must add these lines to your config.php:
PHP:
$config['cookie']['domain'] = '<example.com>'; // this is so cookies are available on every sub-domain
$config['tckRouteOnSubdomain']['primaryHost'] = '<example.com>' // this is to differentiate real host vs. route ;
Once above lines are added you can enable routes on subdomain via ACP > Setup > Navigation > Routes on subdomain.