Images Sitemap
-
Hi
How do I get my images into the sitemap and indexed in Google?
Thank you
-
@mushlih For images, these are included in the sitemap for the page or post that the image is on. We have additional information on including images in the site located at the following link: https://kb.yoast.com/kb/images-in-the-xml-sitemap/
If you aren’t seeing your page’s images included in the sitemap, it may be due to that some plugins, themes, and page builder modules may not show additional images in the sitemap. If your pages have additional images you want included in the sitemap you may need to add them via a filter:
wpseo_sitemap_urlimagesThis filter will then register images to appear on the sitemap. If you are not sure how to use the filter you may wish to speak with your theme or plugin developer.
“If you aren’t seeing your page’s images included in the sitemap”
How can I know whether the image is in the sitemap or not?
Thank youHi @mushlih,
The images are not visible in the user interface but they are added to the source code of the sitemap, where search engines can see them and crawl them. You can view the image information by viewing the page source of your sitemap.
Is one of them like this picture: https://prnt.sc/ubxyzq?
Thank youHi @mushlih,
Yes, that’s correct. If you can provide us your site URL, we might help you verify the image if present in your Yoast sitemap.
Ok, this is my site: https://mutiaradakwah.com
Hi @mushlih
Thanks for the site URL.
We checked your post sitemap https://mutiaradakwah.com/post-sitemap.xml and noticed there are images on the posts.
There are two approaches to verify images in sitemap:
i. Checking the image column: https://prnt.sc/ubyczb
ii. Page source: https://paste.pics/A1HIJ
We hope this helps.
Hi
What’s the difference between the 2 screenshots you submitted?Hey @mushlih!
Looks like the second screenshot provided is incorrect. Sorry about that. Here it is: https://prnt.sc/ubz3yh
Ok, thank you
In conclusion, seo for images on my site works fine and there are no problems?Hi @mushlih,
Yes, the image URLs are appearing as expected in the sitemap’s source code, so we didn’t find a problem.
Ok, thank you
The topic ‘Images Sitemap’ is closed to new replies.