...or vice versa.
I've spent hours getting Flarum to work and at last I'm (almost) there! I renamed the public folder to forum so that the URL looks like this: www.domain.com/forum
I can access the forum from either domain.com/forum or www.domain.com/forum but only one works properly at a time. In my config.php file, if I have 'url' => 'http://domain.com/forum', the forum works without the www subdomain just fine, and I can login as admin. But if I immediately go to www.domain.com/forum, I see the forum, but I'm logged out and I can't log in!
If I change the config.php file so that the URL includes www, then www.domain.com/forum works, but domain.com/forum doesn't!
I hope that makes sense. Basically, I'd like to be able to access the site from either www.domain.com or domain.com. It's obviously a configuration issue, but I've no idea what to adjust next. Any ideas?