Commit d0f3acc
Add search engine indexing prevention (#56)
## 変更内容 (Changes)
このPRでは、Next.jsアプリケーションが検索エンジンにインデックスされるのを防ぐための設定を追加しています。
### 実装した変更点:
1. `layout.tsx`ファイルのhead部分に`<meta name="robots" content="noindex,
nofollow" />`タグを追加
2. 検索エンジンクローラーを明示的に拒否するための`robots.txt`ファイルをpublicディレクトリに追加
### 技術的詳細:
- `<meta name="robots" content="noindex, nofollow"
/>`タグは、検索エンジンにページのインデックスを作成しないよう指示し、リンクを辿らないようにします
-
`robots.txt`ファイルは、GooglebotやBingbotなど主要な検索エンジンクローラーに対してすべてのコンテンツへのアクセスを禁止する設定を含んでいます
これらの変更により、アプリケーションは検索エンジンの結果に表示されなくなります。
<!-- DO NOT EDIT: System generated metadata -->
<!-- WORKER_ID:webapp-1753246501356 -->
---
**Open in Web UI**:
https://d2c09i1k2ray87.cloudfront.net/sessions/webapp-1753246501356
---------
Co-authored-by: remote-swe-app[bot] <123456+remote-swe-app[bot]@users.noreply.github.com>1 parent c679648 commit d0f3acc
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
0 commit comments