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

Grav multisite

Started by Muut Archive 11 years ago · 3 replies · 436 views
11 years ago

I'm having trouble getting Grav multisite working. I have Grav installed and running. I have created a setup.php file and saved it to my Grav root directory. The setup file contains the script for subdirectories. In my user folder I have created a sites folder and in sites, two site folders each containing config, pages, plugins and themes folders. What do I need to do now to configure these / access them? Going to http://example.com/<subsite> doesn't call anything apart from a 404 missing page. What am I missing?
Thanks.

11 years ago

I also struggle with the multisite setup. Like sdking I followed the instructions given in the documentation. I have the setup.php in place in the grav root folder. I've created a sites folder within user. I placed a copy of a working user folder in user/sites/and also a symlink to another folder with the needed content.

So it looks like this:

BASH

cd grav && ls
...
setup.php

ls user/sites
...
test/
symtest/ -> other/place/user/
---
11 years ago

There is an change that was made in the last RC release that breaks the current multisite implementation as documented. We have a fix in place that should address that for the next release.

11 years ago

Also we're going to add some notes to the documentation that outlines multisite 'works' but it's not complete yet. We need to make some decisions about how the CLI commands as well as the Grav admin should work with multisite. Currently these are quite untested with it.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1350 9 years ago
Archive · by Muut Archive, 9 years ago
2 935 9 years ago
Archive · by Muut Archive, 9 years ago
2 4061 9 years ago
Archive · by Muut Archive, 9 years ago
1 2948 9 years ago
Archive · by Muut Archive, 9 years ago
3 1119 9 years ago