【发布时间】:2015-12-24 12:52:24
【问题描述】:
我想让我的网站在用户通过 Google 搜索时能够显示链接的树形结构。
我已经使用站点地图来生成结构:
# Set the host name for URL creation
SitemapGenerator::Sitemap.default_host = "https://lazyair.co"
SitemapGenerator::Sitemap.create do
add '/about-us', :changefreq => 'weekly'
add '/contact_us', :changefreq => 'weekly'
add '/tutorial', :changefreq => 'weekly'
add '/user', :changefreq => 'daily'
end
预期格式
当前格式
【问题讨论】:
-
“重复”的质量并不高,但这个问题是。
-
我投票结束这个问题,因为这是关于 SEO 而不是编程。
标签: ruby-on-rails seo google-search