[Plugin: WordPress SEO by Yoast] CDN Images in Sitemap
-
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 https://www.domain.com rather than cdn.domain.com.
I’ve searched and I found the API docs for the plugin, along with this
wpseo_xml_sitemap_img_src (string)
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.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘[Plugin: WordPress SEO by Yoast] CDN Images in Sitemap’ is closed to new replies.