Example 2: Media and images The ‘media’ or ‘image’ XML sitemap is also unnecessary for most websites. This is because your images are probably used within your pages and posts, so will already be included in your ‘post’ or ‘page’ sitemap. So having a separate ‘media’ or ‘image’ XML sitemap would be pointless and we recommend leaving it out of your XML sitemap. The only exception to this is if images are your main business. Photographers, for example, will probably want to show a separate ‘media’ or ‘image’ XML sitemap to Google. … [Read more...] about What is an XML sitemap and why should you have one? • Yoast
Urls in xml sitemap
John said on Twitter it depends "on how they [the sitemap files] were discovered." He said (a) If submitted via anonymous ping, they're only valid there & lower levels and (b) If you submit them through your Search Console account, they can be valid for any verified site or part of a site. … [Read more...] about Google: Does It Matter Where Your XML Sitemap File Is Located?
Besides having a sitemap, if your website has a lot of content (pages, posts etc.) and if you have new additions on a daily basis, you can also submit your RSS feed to Google (the same way as you do with a sitemap) and thus speed up indexing your new content. … [Read more...] about How to Optimize your XML Sitemap for Maximum SEO
Google's John Mueller confirmed on Twitter that Google may stop fetching your XML Sitemap files if the URLs within them are invalid. He said it is fine to have URLs that redirect but they should load content. If not, Google may simply start ignoring your Sitemaps. … [Read more...] about Google May Ignore Your XML Sitemap If The URLs Are Invalid
If you have a particularly large website, you may also need to employ a sitemap index. Search engines will only index the first 50,000 URLs in a sitemap, so if your site has more than 50,000 URLs, you’ll need to use an index to tie multiple sitemaps together. You can learn how to create indices and more about sitemaps at sitemaps.org. … [Read more...] about The Importance Of XML Sitemaps In The Age Of Panda