MyBB Community Forums

Full Version: CookieDomain with subdomains
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, I want to create a subdomain on my forum (images.example.com) from where to serve static content (images) because I've heard they load faster in the browser.
Now my current mybb domain cookie path is:

var cookieDomain = ".example.com";

Should (can) I change this to var cookieDomain = "www.example.com" in order to create the cookieless subdomain ? Also to change this I have to modify only the headerinclude (or there are other references in mybb) ?

Thank you Smile
No, nothing is required on your part if it's just to put images in. You will only need to mess around with the cookie settings if you are running another forum under that subdomain. So say 2 forums on one domain if that makes sense.

So basically, go ahead and create your subdomain and put the images you want in.