I followed the instructions to a tee. But before I deployed the changes to my live server I try running locally via rake task:
This is my config/sitemap.rb file as generated after I ran "rails generate spree_sitemap_generator:install"
SitemapGenerator::Sitemap.default_host = "http://#{Spree::Config[:site_url]}"
SitemapGenerator::Sitemap.add_links do |sitemap|
# Put links creation logic here.
#
# The root path '/' and sitemap index file are added automatically.
# Links are added to the Sitemap in the order they are specified.
#
# Usage: sitemap.add(path, options={})
# (default options are used if you don't specify)
#
# Defaults: :priority => 0.5, :changefreq => 'weekly',
# :lastmod => Time.now, :host => default_host
#
#
# Examples:
#
# Add '/articles'
#
# sitemap.add articles_path, :priority => 0.7, :changefreq => 'daily'
#
# Add individual articles:
#
# Article.find_each do |article|
# sitemap.add article_path(article), :lastmod => article.updated_at
# end
sitemap.add_login
sitemap.add_signup
sitemap.add_account
sitemap.add_password_reset
sitemap.add_taxons
sitemap.add_products
end
Help us Obi wan, your our only hope...