seo: increase sitemap coverage.
Rework sitemaps to provide more coverage of the site. We want every important page on the site - including every post, tag, and wiki page - to be indexed by Google. We do this by generating sitemaps and sitemap indexes that contain links to every important page on the site.
This commit is contained in:
9
app/views/users/index.sitemap.erb
Normal file
9
app/views/users/index.sitemap.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<% @users.each do |user| %>
|
||||
<url>
|
||||
<loc><%= user_url(user) %></loc>
|
||||
</url>
|
||||
<% end %>
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user