Sitemap is always should be enabled. Slim SEO automatically generates XML sitemap (at
domain.com/sitemap.xml) to submit to search engines. With XML sitemaps, your website are indexed fast and completely.
Slim SEO provides a styling for sitemap, which makes it look beautifully. See demo here.
To optimize the performance when generating sitemaps, the plugin splits the main sitemap (sitemap index) into a list of smaller sitemaps:
- Post types: each post type has a sitemap.
- Taxonomies: each taxonomy has a sitemap.
As Google suggested, the maximum number of links in a sitemap is 500. So the plugin might divide the content into smaller sitemaps, each of which contains 500 links.
The posts and terms which are manually set as
noindexed will be excluded in the sitemap.
Slim SEO also includes the image sitemap by default to make sure your images are discoverable by search engines.
All the images that you insert in the post content are added in the image sitemap. So, when someone search for your images, they’ll go to your posts to see the images.
The sitemap includes both self-hosted images and external images. Images in galleries or shortcodes are also parsed and included, too. For that reason, Slim SEO works with default WordPress gallery shortcode and other WordPress gallery plugins.
Sitemap and robots.txt
The sitemap URL is automatically included in the
robots.txt on your website if your website doesn’t have a physical
robots.txt file. WordPress automatically creates a virtual
robots.txt for your website at
domain.com/robots.txt. If you have a physical
robots.txt, you need to add the sitemap URL by yourself.