Cloudfront dynamic content delivery compatibility: Visual editor breaks
-
Hi there.
I’m having mostly success using Amazon’s Cloudfront Dynamic Content Delivery to deliver an entire WordPress site:
However, I noticed one quirk that might be specific to WordPress. The visual editor in a post / page editor disappears, leaving only the text based editor. The rest of the CMS works perfectly seamlessly over Cloudfront so it’s not necessarily a deal breaker and I haven’t tried installing an alternate visual editor.
To be clear, I’m referring to Dynamic Content Delivery to serve the entire primary site domain, NOT just a CDN for images.
My setup: WordPress on an AWS EC2 Ubuntu instance. Cloudfront is setup to allow all HTTP methods (AWS used to restrict POST but now allows it), forward all cookies and include query strings.
This can be replicated on a vanilla WordPress installation with no plugins and either the default theme or a stripped-back basic theme. Access the site via the Cloudfront distribution URL.
To confirm that it’s an issue unique to WordPress delivered via Cloudfront Dynamic Content Delivery, change the WordPress address and site address to the origin domain, log out and log back in via the origin domain. The visual editor works again. Reverse the process. Visual editor disappears. This demonstrates that the visual editor SHOULD work, and that it is probably not a stray user setting.
The public facing and admin sections (for multiple users) of the site all work perfectly except for the visual editor. Any ideas?
- The topic ‘Cloudfront dynamic content delivery compatibility: Visual editor breaks’ is closed to new replies.