Using the latest versions of WordPress and the W3 Total Cache plugin along with WordPress SEO 1.2.3
I have the Self-hosted CDN option enabled in W3TC and i’m serving images from cdn.domain.com
My problem is that the sitemap showing the images from http://www.domain.com rather than cdn.domain.com.
I’ve searched and I found the API docs for the plugin, along with this
Allows you to change the URL for images embedded in the XML sitemap. Most common usecase is to make sure the CDN URL is embedded.
I’m not sure what code I need to put in my functions to fix this.
- The topic ‘[Plugin: WordPress SEO by Yoast] CDN Images in Sitemap’ is closed to new replies.