포럼 및 프로필 페이지용 Google 구조화 데이터

1. itemprop="text"

articleBody가 (더 이상) DiscussionForumPosting에 지정되지 않으므로, 여기에는 항상 itemprop="text"를 추가하세요.

2. mainEntityOfPage

mainEntityOfPage는 DiscussionForumPosting에 대해 한 번만 설정해야 하며, 여러 개의 Comment에는 절대 설정하지 않아야 합니다:
예를 들어 post.is_first_post를 확인하세요.

3. itemprop="url"

DiscussionForumPosting의 itemscope에 itemprop="url"을 추가하세요.
이렇게 하면 서브페이지(…?page=2)의 댓글이 메인 토픽 페이지에 연결됩니다.

<link itemprop="url" href="???">

여기서는 post.topic.url이 설정되어 있지 않습니다. @topic_view.url과 같은 것이 있을까요?

중요: itemprop url은 크롤러 뷰에서 토픽의 첫 번째 페이지를 가리켜야 합니다:

  • 예: https://example.org/t/topic-title/1234
  • https://example.org/t/topic-title/1234?page=2가 아닙니다.

DiscussionForumPosting → Recommended properties → url을 참조하세요.

url: 토론의 정수적 URL입니다. 여러 페이지로 구성된 스레드인 경우, 이 속성을 첫 번째 페이지 URL로 설정하세요. 단일 토론인 경우, 이는 일반적으로 현재 URL입니다.

1개의 좋아요