Getting Images To Show In XML Sitemap
-
Hello,
I am trying to get all of my images on my posts to show in my sitemap so they can be indexed by google. I’ve noticed that the images are indexed when the src and href attributes in my post are the same but are not indexed when they are different (commonly due to re-sizing).
For example, the following is indexed:
<a href="https://s3-us-west-2.amazonaws.com/weathertogether.net/wp-content/uploads/sites/5/2018/09/201809232100_500mb.gif"><img class="wp-image-8827 size-full" src="https://s3-us-west-2.amazonaws.com/weathertogether.net/wp-content/uploads/sites/5/2018/09/201809232100_500mb.gif" /></a>
On the other hand, this is not:
<a href="https://s3-us-west-2.amazonaws.com/weathertogether.net/wp-content/uploads/sites/5/2018/09/201809232100_500mb.gif"><img class="wp-image-8827 size-medium" src="https://s3-us-west-2.amazonaws.com/weathertogether.net/wp-content/uploads/sites/5/2018/09/201809232100_500mb-300x223.gif /></a>
I’d like to avoid displaying the full-sized image on my blog posts because it increases loading times. Can I display the smaller versions that WordPress creates and still have them indexed so that search engines can find them?
Thank you.
The page I need help with: [log in to see the link]
- The topic ‘Getting Images To Show In XML Sitemap’ is closed to new replies.