게시물 구조화 데이터: 작성자 URL이 "noindex"로 차단됨

각 게시물의 구조화된 데이터에는 작성자의 페이지로 연결되는 URL이 있습니다:

<div id="post_123" itemscope="" itemtype="http://schema.org/DiscussionForumPosting" class="topic-body crawler-post">
  <div class="crawler-post-meta">
    […]
    <span class="creator" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <a itemprop="url" href="https://meta.discourse.org/u/codinghorror">
        <span itemprop="name">codinghorror</span>
      </a>
      (Jeff Atwood)
    </span>

이러한 작성자 페이지는 http 헤더 noindex에 의해 차단되어 있습니다. Google은 모든 구조화된 데이터가 접근 가능하기를 원합니다 - General Structured Data Guidelines | Google Search Central  |  Documentation  |  Google for Developers 참조:


Google은 작성자의 URL을 권장합니다 – Learn About Article Schema Markup | Google Search Central  |  Documentation  |  Google for Developers 참조


Discourse는 작성자의 URL을 숨겨야 하는가?

URL을 숨기는 것은 itemid 속성을 사용하여 동일한 작성자의 모든 게시물을 URL을 설정하지 않고 동일한 작성자 객체에 연결하는 방식으로 수행할 수 있습니다.

현재 상태:

<span class="creator"
      itemprop="author" itemscope="" itemtype="http://schema.org/Person">
  <a itemprop="url" href="https://meta.discourse.org/u/codinghorror">
    <span itemprop="name">codinghorror</span>
  </a>
  (Jeff Atwood)
</span>

url 속성을 제거하고 itemid 속성을 통해 identifier를 추가하며 - 추가로 rel="nofollow"를 설정합니다:

<span class="creator"
      itemid="https://meta.discourse.org/u/codinghorror"
      itemprop="author" itemscope="" itemtype="http://schema.org/Person">
  <a rel="nofollow" href="https://meta.discourse.org/u/codinghorror">
    <span itemprop="name">codinghorror</span>
  </a>
  (Jeff Atwood)
</span>

1개의 좋아요