Generating a Sitemap for your Rails sites

Posted on

A sitemap according to Wikipedia is "a list of pages of a web site accessible to crawlers or users." While they are completely optional, Google uses the sitemap on your site to learn about it's structure. This allows Google and other search engines to potentially increase crawling coverage. While you can build this yourself manually via XML Builder or handcrafting an XML file, I prefer using the sitemap_generator gem.

Read More