• My SEO plugin generates a sitemap, but images from galleries/posts are not included. Is there an option to include image entries, or do I need an add-on?

Viewing 1 replies (of 1 total)
  • Plugin Author Benjamin Denis

    (@rainbowgeek)

    Great question! Let me clarify how images work in SEOPress XML sitemaps.

    How images are included:

    Images are included in your XML sitemaps! However, they’re not in a separate image sitemap – they’re embedded within the post/page sitemaps.

    Where to find them:

    Images appear in the source code of your content sitemaps, such as:

    • post-sitemap.xml  
    • page-sitemap.xml  
    • product-sitemap.xml  

    What they look like:

    Each image is listed with its direct media file URL, for example:
    <image:image> <image:loc>https://example.com/wp-content/uploads/my-image-file.jpg</image:loc> </image:image>

    How to check:

    1. Visit your sitemap (e.g., example.com/post-sitemap.xml  )
    2. View the page source (right-click > View Page Source)
    3. Look for <image:image>   tags within each URL entry

    What Google sees:

    Google automatically discovers and indexes these images from your sitemaps, which helps improve your image SEO!

    Hope that helps clarify things! Let me know if you have any other questions about sitemaps.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.