LoginSignup
7
10

More than 5 years have passed since last update.

Rails アプリケーションを検索されなくする

Posted at

robots.txt

サイトをクローリングされないようにするためには、robots.txtを編集すればよい。

public/robots.txt
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
#
# To ban all spiders from the entire site uncomment the next two lines:
User-agent: *
Disallow: /

上記のように

User-agent: *
Disallow: /

のコメントアウトをはずす。

参考

7
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
10