Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Archive

Serving a different theme based on url

Started by Muut Archive 10 years ago · 0 replies · 238 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 Deleted User, 9 years ago
0 1279 9 years ago
Archive · by Muut Archive, 9 years ago
2 886 9 years ago
Archive · by Muut Archive, 9 years ago
2 4015 9 years ago
Archive · by Muut Archive, 9 years ago
1 2891 9 years ago
Archive · by Muut Archive, 9 years ago
3 1075 9 years ago