Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Embedding Vanilla in another site (how? Iframe forbidden).
AdvaK
New
Hello.
I have a bootstrap based site with own header and menu (and own CMS). Below this site's header I would like to embed my vanilla forum. What is the best way to do this?
I tried an iframe (probably not optimal either) and that doesn't work. Console says: about:blank:1 Refused to display 'http://mydomainname.com/vanillaforum' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.
How can I load my Vanilla forum inside my site?
Thanks in advance!
0
Comments
whatever site you are trying to ebbed into is setting this header
You need to set the header to
ALLOW-FROM
https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Options
However due to browser support it better to remove the header entirely.
grep is your friend.
Thank you. I did set in on allow in the .htaccess file! Now I can embed it and it works pretty wel!
@AdvaK great. post you work so others can see.
grep is your friend.