• Resolved healiny

    (@healiny)


    Hello
    My website, which is a photography site, have a Beaver galleries.
    I like to connect the gallery images to Yoast SEO’s SiteMap.
    ——————-
    From Yoast’s support they wrote to me:
    ‘By default, the Yoast SEO sitemaps include any embedded images in your pages. You can verify this by viewing the page source for the sitemaps.

    However, photos that are embedded using shortcodes or using third-party page builders may not be recognized and added to the sitemaps.

    If that’s the case with the photo gallery pages, you can add custom code in order to add images to your sitemaps manually. We have more details in this guide: https://yoast.com/help/images-in-the-xml-sitemap/#image-filter2.’
    ——————
    Here’s how they write in the documentation:
    ‘Some themes or pagebuilder modules may not show the images on the sitemap. You may need to add them via a filter: wpseo_sitemap_urlimages. This filter will then register images to appear on the sitemap.’
    ——————–
    I’d love to know how to connect all galeries photos via a filter: wpseo_sitemap_urlimages.

    Regards

    • This topic was modified 4 years, 4 months ago by healiny.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Connecting gallery pictures To Yoast SEO’s SiteMap’ is closed to new replies.