Skip to content
● Critical PHP security fixes are out: update PHP on your Grav sites. What to do →

Problems setting up multi-site

Solved by Kilian View solution

Started by Kilian 4 years ago · 1 replies · 818 views
4 years ago

Hi everybody,
i tried to change to a multi-site setup locally, using the subdirectory option.
But after doing so, calling the site http://localhost/mynewsubsite doesn't work.
It seems that GRAV is ignoring the setup.php, since it still is looking for the folders directly in /user/ - have a look:
grav-multisite-errror|548x376

Does anyone may have a hint for me?

Thx in advance,
Kilian

4 years ago Solution

Okay,
i could get it run. 🙂

If anyone is faced with the same problems, here is what i did:
I copied all the necessary folders back into /user/ and logged in.
After that i was redirected to a path like
/mynewsubsite/de/mynewsubsite/admin
which obviously could not work.
But afterwards calling the localhost redirected me into my new subdirectory and now everything works like a charm.

Suggested topics

Topic Participants Replies Views Activity
Installation & Hosting · by David Meissner, 9 hours ago
0 17 9 hours ago
Installation & Hosting · by Anthony J Cervo, 5 days ago
3 113 3 days ago
Installation & Hosting · by motorambler, 2 months ago
9 785 4 weeks ago
Installation & Hosting · by jeremycherfas, 1 month ago
1 394 1 month ago
Installation & Hosting · by antoinep, 4 months ago
8 1229 4 months ago