Topic: Gallery not found when "www." missing in address?

By accident I found that embedded galleries in my webpage are only found if the address in the browser is entered with leading www.mydomain.com - when the address is entered without www like mydomain.com I receive an Juicebox Error: Config XML not found.

I guess the following is the same problem: I am pointing two further domains to my main domain. When I use those domain names in the browser I get the same Juicebox error.

I am embedding the galleries with Adobe Muse. Is there a way I can ensure that the gallery is always found?

Thanks.

Re: Gallery not found when "www." missing in address?

In order for a Juicebox gallery to function correctly, all the files (including the HTML document containing the JavaScript embedding code) must be on the same domain or subdomain (www.mydomain.com is a subdomain of domain.com).
This is due to the JavaScript same-origin policy security restriction. Please see this web page for more information.

To have the gallery display when visiting both www.mydomain.com and domain.com, try using relative paths (rather than absolute paths which hardcode either www.mydomain.com or domain.com) in your embedding code.