Sitemap XML referencing old images that 404. Need to update images ()
-
My XML sitemap is showing removed images even after updating the images.
How do I rescan the images associated with each blog post (Column “Images” on XML)?If I “View source” on the sitemap I can see the below, but all the images 404. They are no longer in the blog post. I need to refresh the sitemap to remove these 404’d images and pull the latest images from the post.
<url>
<loc><![CDATA[https://example.com/blog/get-rid-of-their-unsightly-back-fat/]]></loc>
<lastmod><![CDATA[2025-01-17T03:58:12+00:00]]></lastmod>
<changefreq><![CDATA[always]]></changefreq>
<priority><![CDATA[0.7]]></priority>
<image:image>
<image:loc><![CDATA[https://example.com/wp-content/uploads/2021/10/back-fat-.jpg]]></image:loc>
</image:image>
<image:image>
<image:loc><![CDATA[https://example.com/wp-content/uploads/2021/10/muscle-back.jpg]]></image:loc>
</image:image>
<image:image>
<image:loc><![CDATA[https://example.com/wp-content/uploads/2021/10/back-muscles.jpg]]></image:loc>
</image:image>
<image:image>
<image:loc><![CDATA[https://example.com/wp-content/uploads/2020/01/6-Best-Exercises-for-Your-Upper-Back.jpg]]></image:loc>
</image:image>
</url>This refresh does not happen when I save the post, so I need to work out how to fix this.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- You must be logged in to reply to this topic.