The sitemap of my website is currently indexing only posts and pages. It is not indexing the media content that is images and attachments. Is it a good idea not to submit images for indexing. If not what are the possible drawbacks?
2 Answers
There is an additional type of sitemap called an image sitemap. It's similar to regular XML sitemaps but uses a slightly different format. See Google's help page for details.
You can create a separate file or add the <image:image>
element to your existing sitemap.
I would say that if you are able to create this without too much effort - for example integrate it into an existing automatic sitemap generation - then go for it. If you need to add a lot of images manually then it may not be worth your time.
It isn't necessary, but if you really want to ensure that every image is indexed by Google, then it will be beneficial to do this otherwise you might not have them all discovered simply by crawling.
-
1What do you think is a better practice for seo to include images or not to include ? Jan 7, 2016 at 16:24
-