Quantcast
Channel: Topic Tag: xml | WordPress.org
Viewing all articles
Browse latest Browse all 3208

Page Sitemap Image URLS not showing CDN URL After Adding Recommended Code

$
0
0

I have added this code to my child functions.php in an effort to get my images to index correctly with the CDN setup:

/* YOAST CDN SETUP */

add_filter( 'wpcf7_support_html5_fallback', '__return_true' );

function wpseo_cdn_filter( $uri ) {
return str_replace( 'https://markartall.com', 'https://cdn.markartall.com', $uri );
}
add_filter( 'wpseo_xml_sitemap_img_src', 'wpseo_cdn_filter' );

It seems to be working on my post sitemap but not my page sitemap.

Any idea why this would happen?


Viewing all articles
Browse latest Browse all 3208

Latest Images

Trending Articles



Latest Images