If image src URL start does not match site url start then images don’t serve
-
Hey,
We’ve noticed that if you have hardcoded links in post content, widgets, etc to an image within your site but the URL does not match the WordPress site URL it doesn’t get served through the CDN.
For example our site URL in WordPress is http://www.site.com
A hardcoded img had the src as site.com/some-image-url (without www), this didn’t get served. If we change that hardcoded bit to http://www.site.com/some-image-url it works fine.
I noticed this because a few images weren’t being served from Optimole and this is why.
Hopefully only effects a few people in certain scenarios but worth mentioning.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘If image src URL start does not match site url start then images don’t serve’ is closed to new replies.