CDN 404 error
-
Somewhere a couple of months ago, there was a problem with the transfer of webp via CDN. In my case, Akamai is used.
Previously, this problem was not observed.
I’ll describe it in more detail.1. In ” Operation mode:”, the value”CDN friendly” is set. In ” CDN hostname (s) / hostname alias (es)”, the url value of the Akamai domain. The cdn itself works fine with other plugins.
2. The problem starts with “Destination folder”.
2.1. If the value “In separate folder” is selected, the webp images are sent from my server, for example mysite.com/wp-content/webp-express/webp-images/uploads/someimg.jpg.webp and has a server response status of 200.
2.2. If I select “Mingled”, the page code changes and the site tries to send the image through the akamai server https://myakamaisubdomain.akamaized.net/wp-content/uploads//someimg.jpg.webp and returns a 404 error. It is also through verification:
curl -I -H “Host:myakamaisubdomain.akamaized.net” https://mysite.com/wp-content/uploads/someimg.jpg.webp
HTTP/2 404
server: nginx/1.16.1curl -I https://mysite.com/wp-content/uploads/someimg.jpg.webp
HTTP/2 200
server: nginx/1.16.1Please solve the problem with the transfer of webp via CDN.
I believe in you and thank you in advance! ??
- The topic ‘CDN 404 error’ is closed to new replies.