Jetpack Makes Search Console Cannot Index Images
-
I installed the cdn jetpack image on my site . But after a few days I used it. This makes the search console not index images on my site.
Then I look for a solution, using the code snippet that is stored in the functions.php file
The code is like this:
function wpseo_cdn_filter( $uri ) { return str_replace( 'https://example.com', 'https://cdn.example.com', $uri ); } add_filter( 'wpseo_xml_sitemap_img_src', 'wpseo_cdn_filter' );
I realize that this code can only be used for 1 CDN URL while Jetpack uses multiple CDN URLs. How to fix it!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Jetpack Makes Search Console Cannot Index Images’ is closed to new replies.