Bug with CDN Cname
-
Hello, i read through your release notes and found in version 2.3 there is a comment for “Improvement: Better detection of offloaded media URLs during page display”. I think there is a bug with this.
When i enter my custom cdn name cdn.example.com my images no longer display on the front end. This is because the url’s instead of having /wp-content/uploads/ in the url (which is part of my s3 bucket) it somehow puts /storage/
I do not know where this wording comes from but it is seemingly dynamically put there by presumably the detection on page display that you have implemented.
If i put the CDN cname to my cloudfront distribution URL (so now it has nothing to do with my domain name) then the images work and are served correctly with /wp-content/uploads in the url name of cloudfront url on the front end.
So, there is a bug or something where when using a cdn cname based on your own domain (cdn.mydomain.com) it puts /storage/ in the url on the front end. The media links in the back end are correct in the media library, so again this is just on front page display.
- The topic ‘Bug with CDN Cname’ is closed to new replies.