mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "FEATURE: add Noindex to robots.txt for disallowed routes"
This reverts commit d84256a876.
This is not supported by Google and causes robots.txt to be flagged as
invalid
Removing Noindex
This commit is contained in:
@@ -52,7 +52,6 @@ RSpec.describe RobotsTxtController do
|
||||
Discourse.stubs(:base_uri).returns('/forum')
|
||||
get '/robots.txt'
|
||||
expect(response.body).to include("\nDisallow: /forum/admin")
|
||||
expect(response.body).to include("\nNoindex: /forum/admin")
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user