Title: Jetpack CDN
Last modified: December 31, 2018

---

# Jetpack CDN

 *  Resolved [shalini21](https://wordpress.org/support/users/shalini21/)
 * (@shalini21)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/jetpack-cdn-2/)
 * I enabled jetpack CDN for images. Now I see that the images are deindexed in 
   search console. After googling,came to know that I need to add a piece of code
   function.php as I use Yoast for sitemap. Now I need to know the CDN URL. How 
   do I find that ?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjetpack-cdn-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Gemma Evans](https://wordpress.org/support/users/gemmaevans/)
 * (@gemmaevans)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/jetpack-cdn-2/#post-11048732)
 * Hi [@shalini21](https://wordpress.org/support/users/shalini21/),
 * It sounds like you want images served by the Jetpack CDN to be indexed by search
   engines, is that correct?
 * > Now I need to know the CDN URL. How do I find that ?
 * CDN images will start with **i0.wp.com**, **i1.wp.com**, or **i2.wp.com**:
 * [https://jetpack.com/support/image-cdn/](https://jetpack.com/support/image-cdn/)
 * I hope this helps.
 *  Thread Starter [shalini21](https://wordpress.org/support/users/shalini21/)
 * (@shalini21)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/jetpack-cdn-2/#post-11080580)
 * I see few images start with i0 and few with i1 and some with i2. Which one should
   I use and how to use in the following code
 * function wpseo_cdn_filter( $uri ) {
    return str_replace( ‘[https://www.yoursite.com&#8217](https://www.yoursite.com&#8217);,‘
   [https://cdn.yoursite.com&#8217](https://cdn.yoursite.com&#8217);, $uri ); } 
   add_filter( ‘wpseo_xml_sitemap_img_src’, ‘wpseo_cdn_filter’ );
 *  Plugin Contributor [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/jetpack-cdn-2/#post-11088938)
 * You’ll need to check with your SEO plugin for specifics on their filter, but 
   you will need to list all 3 subdomains to cover all of it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Jetpack CDN’ is closed to new replies.

 * ![](https://ps.w.org/jetpack/assets/icon.svg?rev=2819237)
 * [Jetpack - WP Security, Backup, Speed, & Growth](https://wordpress.org/plugins/jetpack/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jetpack/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jetpack/)
 * [Active Topics](https://wordpress.org/support/plugin/jetpack/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jetpack/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jetpack/reviews/)

## Tags

 * [cdn](https://wordpress.org/support/topic-tag/cdn/)

 * 3 replies
 * 3 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/jetpack-cdn-2/#post-11088938)
 * Status: resolved