Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
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.
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.
The main sitemap is 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 Slim SEO generates links for latest 500 posts. That doesn't mean old posts are not indexed. They should be indexed before. The current sitemap shows the fresh content that need to be indexed quickly.