Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Serving a different theme based on url

Started by Muut Archive 10 years ago · 0 replies · 446 views
10 years ago

Is it possible to serve a different theme based on the url which is being used to access your site?

This would be to enable multi-tenancy. So the scenarios would be:

  1. http://client1.com would point to the site config and css in /user/themes/client1/
  2. http://client2.com would point to the site config and css in /user/themes/client2/

Suggested topics

Topic Participants Replies Views Activity
Archive · by Muut Archive, 10 years ago
1 672 1 week ago
Archive · by Deleted User, 9 years ago
0 3042 9 years ago
Archive · by Muut Archive, 9 years ago
2 1983 9 years ago
Archive · by Muut Archive, 9 years ago
2 5336 9 years ago
Archive · by Muut Archive, 9 years ago
1 4134 9 years ago