XML Sitemap Including WordPress Image Attachments

XML Sitemap Including WordPress Image Attachments

Tweet Image

I spent an hour modifying my already modified WordPress XML Sitemap Generator Plugin to now output image attachments (jpg, jpeg, gif and png images). As soon as I submitted it to Google’s Search Console the number of pages increased from 61 to 181, so Google now has easy access to 120 WordPress Image Attachment webpages.

You can view the live XML sitemap at https://seo-gold.com/sitemap.xml, the image attachment pages are missed in with the WordPress Posts (was the quickest way to modify the plugin).

I’ve highlighted the four image attachments in the screenshot above for this main WordPress Post and after I update the main Post there will be a fifth URL for the image above.

Continue Reading SEO Myth : XML Sitemaps Boost Google Rankings