For production site, the backend url is like - 'www.abc-prod.com' While the actual live site url is - 'www.xyz.com'

When opening live preview for an entry, page never loads. Instead '301 Moved Permanently' is the status of response.

Response Headers

I have enabled CORS by adding following headers in response-

Access-Control-Allow-Origin: https://www.abc-prod.com
Access-Control-Allow-Headers: origin, x-requested-with, content-type
Access-Control-Allow-Methods: PUT, GET, POST, DELETE, OPTIONS
Access-Control-Allow-Credentials: true

Still getting blank page for live review. What exactly I am missing?

1 Answer 1


Live Preview across different root domains is currently not possible in Craft. See here for more info: https://craftcms.stackexchange.com/a/14966/57

You can use it across different subdomains that share the same root domain, though: https://craftcms.com/support/cross-domain-live-preview

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.