Resource icon

Beta Route on Subdomain 1.0.0 Beta 1

No permission to download
Compatible XF 2.x versions
2.1
Additional requirements
XenForo 2.1.0+
PHP 7.2.0+
License
MIT
Visible branding
No
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:

PHP:
$config['cookie']['domain'] = '.<example.com>'; // this is so cookies are available on every sub-domain
Replacing <example.com> with your own host. You'll also need to update nginx/apache/etc host configuration file to support the routes that you have enabled.

Once the cookie domain is updated in the config.php file you can proceed to enable routes on subdomain via ACP > Setup > Navigation > Routes on subdomain.

License
This project is licensed under the MIT License - see the LICENSE.md file for details.
  • Like
Reactions: XenArabia and 021
Author
TickTackk
Downloads
15
Views
337
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from TickTackk

Latest updates

  1. Bug fixes

    Changelog Fixed: Links generated using router do not respect subDomainSupportEnabled flag (#8)...
  2. 1.0.0 Alpha 3

    Change log Fixed: Cookies are not passed when making request to a subdomain or vice versa (#6)...
  3. Support for route filters

    Change log Fixed: Missing phrase Fixed: Incompatible with SEO friendly url (#4) New: Add...
Top