Robots.txt への追記について

いくつかの PDF ファイルについて、公開はするが検索エンジンには表示されたくないという要望がございます。
ドキュメントルートには現在 Concrete CMS インストール時に追加された以下の robots.txt があります。

User-agent: *
Disallow: /application/attributes
Disallow: /application/authentication
Disallow: /application/bootstrap
Disallow: /application/config
Disallow: /application/controllers
Disallow: /application/elements
Disallow: /application/helpers
Disallow: /application/jobs
Disallow: /application/languages
Disallow: /application/mail
Disallow: /application/models
Disallow: /application/page_types
Disallow: /application/single_pages
Disallow: /application/views
Disallow: /ccm/system/captcha/picture

この robots.txt への追記を検討しておりますが、Concrete CMS のアップデート時などに内容が上書きされてしまうことはあるのでしょうか。

Concrete CMS バージョン
9.1.3

PHP バージョン
8.0.x

サーバー
エックスサーバー

Suggestion: You can add an additional line of code to the robots.txt file that specifies which PDF files should not be displayed in search engines. You can also use the ‘noindex’ meta tag to specify which pages should not be indexed by search engines.

Answer: Adding additional lines of code to the robots.txt file will not be overwritten when Concrete CMS is updated, so this is a viable solution for preventing PDF files from being displayed in search engines. However, it is important to note that the ‘noindex’ meta tag should also be used to ensure that the desired pages are not indexed.

インストールディレクトリの robots.txt が Concrete CMS によって上書きされることはない旨承知しました。
リンク掲載ページの[検索インデックスから除く]属性と併せて設定いたします。
ご回答ありがとうございました。

1 Like