Hi, @seotaro,
I’m assuming your main domain is for example abc.com and your site/sites are like abc.com/site1, abc.com/site2.
So if your site/sites in the subdirectory appears broken, then check ‘Behaviors’ in your AWS Cloudfront distribution, the ‘Path pattern’ should be set to like these:
*/wp-login.php
*/wp-admin/*
*/wp-content/*
*/wp-includes/*
Default (*)
Figured it out, it’s resolved.
The site in the sub-directory is broken when I activate the CloudFont CDN with this plugin. There are two origins, S3 bucket and mysite.com. The S3 bucket is for images and loads from the CloudFront correctly using Offload media lite plugin. But when I activate this plugin to load css, js, etc. the site gets broken. Not sure what’s going on.
Thank you so much, it worked!