3

I'm looking in to setting up a new site which has a Craft site in front of the open source version of Vanilla Forums. I'm a bit stuck on exactly where I should put vanilla though, and how to access it on the front end.

At the moment I've got this setup:

/
    /craft
    /public
        /vanilla

But then vanilla's URLs look like http://domain.dev/vanilla/index.php?p= and it seems to conflic with Craft's .htaccess.

I've also seen on another question that someone installed vanilla in the templates directory. Is that better or a bad idea?

Lastly, should I be trying to run the forums under something like domain.dev/forums/, or would it be easier to run it on a subdomain like forums.domain.dev? I'm going to be using the Single Sign On plugin to integrate it with Craft.

Lindsey D
  • 23,974
  • 5
  • 53
  • 110
darylknight
  • 3,290
  • 18
  • 42

1 Answers1

4

Daryl,

I've setup a few sites with Craft and Vanilla Forums, I've always named the folder "Vanilla" to either "Community" or "Forum" so the url being "vanilla" isn't a problem. Also you should know you can do a javascript include into another craft template so the URL can be anything you want really. I've never had a .htaccess conflict though.

I've always run the forums under /forums or /community or something of the sort when not using the javascript iframe embed method at which point the url can be anything. I've never attempted using a sub-domain, just did not see the point.

Christopher Healey
  • 1,378
  • 1
  • 11
  • 27
  • Thanks Chris! Followup for anyone else who finds this question - the vanilla folder is going to live in /public – darylknight Sep 20 '16 at 14:16