Skip to content

ticktackk/RouteOnSubdomainForXF2

Repository files navigation

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:

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

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published