Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Hamish 96 posts 154 karma points
    May 31, 2016 @ 06:31
    Hamish
    0

    Preview not working when you update Culture And Hostnames

    For the project that I am working on we need to set the Culture And Hostnames to a specific domain: www.domain.com (no probs there), but accessing the CMS is needed to be done on another subdomain: edit.domain.com

    90% of the time when editing content and testing the page in Preview mode I get the following error in the developer console:

    Uncaught SecurityError: Blocked a frame with origin "http://edit.domain.com" from accessing a frame with origin "http://www.domain.com". Protocols, domains, and ports must match
    

    Does anyone know how to get the preview to look on the same domain as edit.domain.com rather than using the choosen Culture And Hostname?

    Or is there another work around?

Please Sign in or register to post replies

Write your reply to:

Draft