FernandoBarrios Posted October 8 Posted October 8 (edited) Site URL: https://www.mapvrc.org/ Hello Good morning/afternoon/evening 😀 We have a site on Squarespace (domain + hosting) with URL: https://www.mapvrc.org/ On the other hand, we have another site (our main site) with URL: https://momsagainstpoverty.org/ (domain + hosting in Go Daddy) What we want to do is that, when users enter www.mapvrc.org, users understand that this site belongs to momsagainstpoverty.org, so we've created a subdomain “https://mapvrc.momsagainstpoverty.org/”. After the subdomain was created, we made a redirect as a mask so that this subdomain points to www.mapvrc.org and at the same time keep the URL: mapvrc.momsagainstpoverty.org. But the issue is that the mask doesn't work (The loading of “https://www.mapvrc.org/” in a frame is denied by “X-Frame-Options“ directive set to “sameorigin“. ) and I can't find documentation on how to use the Squarespace site as mask/iframe on https://momsagainstpoverty.org/. or how to authorize the site to be used as an iframe in another domain. Could you help me with this issue? I read some posts from months/years ago .... is it possible to do this in Squarespace? Thank you very much! Edited October 8 by FernandoBarrios
FernandoBarrios Posted October 8 Author Posted October 8 32 minutes ago, creedon said: There is not setting you can change as this is something SS has setup at the server level which we do not have access to. HI @creedon, thanks for your feedback. Based on your experience, this is not something I can talk with support to modify?
Solution FernandoBarrios Posted October 8 Author Solution Posted October 8 Found a workaround to this in another post: Quote In Settings > Developer Tools > Website Protection you'll find a Clickjack protection setting. Turning this off will allow other sites to iframe your Squarespace content.
creedon Posted October 9 Posted October 9 Excellent! And thank you for reminding me of that clickjack settings. There is a small downside to turning it off though. You can't control who can iframe your site. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment