mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 14:03:42 +08:00
721ee36425
DEV: Replace instances of Discourse.base_uri with Discourse.base_path
This is clearer because the base_uri is actually just a path prefix. This continues the work started in 555f467
.
14 lines
491 B
Plaintext
14 lines
491 B
Plaintext
# See http://www.robotstxt.org/wc/norobots.html for documentation on how to use the robots.txt file
|
|
#
|
|
|
|
# Googlebot must be allowed to index so it can remove items from the index
|
|
# we return the X-Robots-Tag with noindex, nofollow which will ensure
|
|
# indexing is minimized and nothing shows up in Google search results
|
|
User-agent: googlebot
|
|
Allow: <%= Discourse.base_path + "/" %>
|
|
Disallow: <%= Discourse.base_path + "/uploads/*" %>
|
|
|
|
User-agent: *
|
|
Disallow: <%= Discourse.base_path + "/" %>
|
|
|