---
title: "📓 작업일지 — 검색 최적화 메타·구조화데이터·robots·sitemap 추가"
category: "worklog"
parent: "Claude Code 작업일지"
updated: "2026-07-06"
priority: "Medium"
purpose: "구글·네이버 검색 노출을 위해 description·keywords·OpenGraph·Twitter카드·JSON-LD 구조화데이터를 index.html에 추가하고, robots.txt·sitemap.xml을 신설."
read_when: ["SEO", "메타태그", "robots.txt", "sitemap.xml", "JSON-LD", "OpenGraph"]
document_type: "개발일지"
source_status: "generated"
knowledge_group: "03_history"
work_timestamp: "20260706_221312"
source_of_truth: "https://dallog-tools.hansbridge.co.kr/knowledge/"
context: "달록 본레포(ccy-hansbridge/dallog), 커밋 a3f55ff."
---

# 작업일지 — 검색 최적화 메타·구조화데이터·robots·sitemap 추가

> 구글·네이버 같은 검색엔진과 카카오톡 공유 미리보기가 달록 사이트를 잘 인식하도록, 사이트 소개 정보와 색인 규칙을 홈페이지 코드에 추가했습니다.

## 1. 무엇을 했나

### 1-1. index.html 메타태그 확충
- `description`, `keywords`(달록, PaceLog, 러닝 기록, AI 코치 등) 메타태그 추가.
- `canonical` 링크(`https://dallog.kr/`) 추가.
- Open Graph 태그 확충: `og:type`, `og:site_name`, `og:url`, `og:title`, `og:description`, `og:image` — 카카오톡·페이스북 공유 시 미리보기에 사용됨.
- Twitter 카드 태그(`twitter:card`, `twitter:title`, `twitter:description`, `twitter:image`) 추가.
- 검색엔진 소유확인 메타태그(`google-site-verification`, `naver-site-verification`) 자리를 만들고 주석 처리(실제 값은 다음날 6a3a875에서 채워짐).
- JSON-LD 구조화 데이터(`SoftwareApplication` 타입) 추가 — 앱 이름, 카테고리(`HealthApplication`), 운영체제(`Android, Web`), 무료 여부(`offers.price: 0`), 발행사(`한스브릿지`) 명시. 검색엔진이 앱의 성격(건강/피트니스)을 이해하도록 돕는 용도.

### 1-2. robots.txt 신설
- 모든 크롤러 허용(`User-agent: *`, `Allow: /`), 사이트맵 위치 명시.
- 로그인 이후 페이지는 콘텐츠가 없어 자연히 색인에서 제외된다는 주석.

### 1-3. sitemap.xml 신설
- 공개(비로그인) 페이지만 등록: 루트(`/`, priority 1.0), `/privacy`, `/terms`, `/health-consent`, `/account-deletion`(모두 priority 0.3).

## 2. 주요 변경 파일

| 파일 | 내용 |
|---|---|
| `index.html` | description·keywords·canonical·OG·Twitter·JSON-LD·site-verification 자리 추가 |
| `public/robots.txt` | 신설 — 크롤러 허용 규칙 |
| `public/sitemap.xml` | 신설 — 공개 페이지 5종 등록 |

## 3. 관련 커밋

- `a3f55ff` feat(seo): 검색 최적화 메타·구조화데이터·robots·sitemap 추가 (구글·네이버) — description·keywords·OG·Twitter·JSON-LD(SoftwareApplication)·소유확인 자리 (2026-07-06)

## 4. 남은 이슈

이 커밋 시점에는 구글·네이버 site-verification 값이 주석 처리된 자리만 있는 상태였으며(`<!-- <meta name="google-site-verification" content="여기에_구글_발급값" /> -->`), 실제 값은 다음날(2026-07-07) 6a3a875 커밋에서 채워졌다.

