ruby on rails - Git not pushing my sitemap on public folder -
i'm using ruby on rails sitemap_generator
gem.
when make new sitemap ruby sitemap.rb
command displays this:
+ sitemap.xml.gz 11 links / 527 bytes sitemap stats: 11 links / 1 sitemaps / 0m00s pinging url 'http://domain.com/sitemap.xml.gz': successful ping of google successful ping of bing
but when test sitemap google webmaster tools or other service displays have 3 links.
how can fix it?
here sitemap.rb file
require 'rubygems' require 'sitemap_generator' sitemapgenerator::sitemap.default_host = "http://domain.com" sitemapgenerator::sitemap.create add '/about' add '/contact' # under services category add '/heyheyhey' add '/hey' add '/heyhey' add '/eur' add '/blog' , :changefreq => 'weekly' add '/blog/this-is-it' add '/blog/my-blog-post' add '/blog/crazy-blog' end sitemapgenerator::sitemap.ping_search_engines
Comments
Post a Comment