A platform for community discussion. Free, open, simple.
FIX: Remove paths from robots.txt in favor of noindex header
Joshua Rosenfeldb52143feff8c
diff --git a/app/controllers/robots_txt_controller.rb b/app/controllers/robots_txt_controller.rbindex 9c99cb5c1dc..3af15d9174a 100644--- a/app/controllers/robots_txt_controller.rb+++ b/app/controllers/robots_txt_controller.rb@@ -10,14 +10,6 @@ class RobotsTxtController < ApplicationControllerDISALLOWED_PATHS ||= %w{/auth//assets/browser-update*.js- /users/- /u/- /my/- /badges/- /search- /search/- /tags- /tags//email//session/session/@@ -27,11 +19,6 @@ class RobotsTxtController < ApplicationController/user-api-key//*?api_key*/*?*api_key*- /groups- /groups/- /t/*/*.rss- /tags/*.rss- /c/*.rss}def index