cancel
Showing results for 
Search instead for 
Did you mean: 

Image sitemaps - formatting problems

Image sitemaps - formatting problems

I'm working with an e-commerce website with 3,000+ products. The image URLs that are automatically included in the sitemap do not match the image URL on the product pages. This seems to be because of additional subdirectories that are added - like: /cache/ from our caching plugin and 16-character strings from our CDN. As a result, none of the 3,000+ images are being successfully indexed via Google Search Console.

 

Looking at other big e-commerce sites, they seem to have the same problem where the only solves have been black hat (cloaking the original URL in the sitemap on each product page in a display:none span) or detrimental to the site's speed (removing the caching plugin to create a permanent URL). 

 

Has anyone run into this problem? Anyone have solutions on how to get these product images crawled and indexed properly?! Help!