2013-02-05 14:16:51 -05:00
|
|
|
# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
|
|
|
|
#
|
2018-03-15 17:10:45 -04:00
|
|
|
<% @allowed_user_agents.each do |user_agent| %>
|
|
|
|
User-agent: <%= user_agent %>
|
|
|
|
<% end %>
|
2014-01-14 10:42:22 -05:00
|
|
|
Disallow: /auth/cas
|
|
|
|
Disallow: /auth/facebook/callback
|
|
|
|
Disallow: /auth/twitter/callback
|
|
|
|
Disallow: /auth/google/callback
|
|
|
|
Disallow: /auth/yahoo/callback
|
|
|
|
Disallow: /auth/github/callback
|
2014-02-11 00:56:48 -05:00
|
|
|
Disallow: /auth/cas/callback
|
2014-02-14 15:32:49 -05:00
|
|
|
Disallow: /assets/browser-update*.js
|
2014-05-23 10:28:26 -04:00
|
|
|
Disallow: /users/
|
2017-03-28 14:27:54 -04:00
|
|
|
Disallow: /u/
|
2014-10-30 14:32:42 -04:00
|
|
|
Disallow: /badges/
|
2015-04-02 02:08:00 -04:00
|
|
|
Disallow: /search
|
|
|
|
Disallow: /search/
|
2017-02-03 11:56:57 -05:00
|
|
|
Disallow: /tags
|
|
|
|
Disallow: /tags/
|
2018-02-04 13:24:36 -05:00
|
|
|
Disallow: /email/
|
|
|
|
Disallow: /session
|
|
|
|
Disallow: /session/
|
|
|
|
Disallow: /admin
|
|
|
|
Disallow: /admin/
|
|
|
|
Disallow: /user-api-key
|
|
|
|
Disallow: /user-api-key/
|
|
|
|
Disallow: /*?api_key*
|
|
|
|
Disallow: /*?*api_key*
|
2018-03-01 21:38:01 -05:00
|
|
|
Disallow: /groups
|
|
|
|
Disallow: /groups/
|
2017-02-13 07:01:10 -05:00
|
|
|
|
2018-03-15 17:10:45 -04:00
|
|
|
<% if @disallowed_user_agents %>
|
|
|
|
<% @disallowed_user_agents.each do |user_agent| %>
|
|
|
|
User-agent: <%= user_agent %>
|
|
|
|
Disallow: /
|
|
|
|
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|
|
|
|
|
2017-02-13 07:01:10 -05:00
|
|
|
<%= server_plugin_outlet "robots_txt_index" %>
|