태그 페이지에 “noindex” 헤더를 구현하는 방법은?
현재 “2.6.0.beta1” 버전을 사용 중인데, 태그 페이지에서 “noindex” 헤더를 찾을 수 없습니다.
해당 “noindex” 기능은 아래 버전에서 출시되었습니다.
Discourse 2.5.0.beta5 Release Notes - #2 by jomaxro
- 태그 페이지에 noindex 헤더 추가
- 배지, 그룹 및 /my 페이지에 noindex 헤더 추가
태그 페이지에 “noindex” 헤더를 구현하는 방법은?
현재 “2.6.0.beta1” 버전을 사용 중인데, 태그 페이지에서 “noindex” 헤더를 찾을 수 없습니다.
해당 “noindex” 기능은 아래 버전에서 출시되었습니다.
Discourse 2.5.0.beta5 Release Notes - #2 by jomaxro
구현을 위해 사용자가 별도로 할 일은 없습니다. 기본적으로 포함되어 있습니다. Meta에서도 확실히 확인됩니다:
~$ curl -X GET -I https://meta.discourse.org/tag/pr-welcome
HTTP/2 200
date: Tue, 18 Aug 2020 10:35:08 GMT
content-type: text/html; charset=utf-8
server: nginx
vary: Accept-Encoding
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-download-options: noopen
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
x-discourse-route: tags/show
x-robots-tag: noindex
cache-control: no-cache, no-store
content-security-policy: base-uri 'none'; object-src 'none'; script-src https://meta.discourse.org/logs/ https://meta.discourse.org/sidekiq/ https://meta.discourse.org/mini-profiler-resources/ https://global.discourse-cdn.com/meta/assets/ https://global.discourse-cdn.com/meta/brotli_asset/ https://meta.discourse.org/extra-locales/ https://d3bpeqsaub0i6y.cloudfront.net/highlight-js/ https://d3bpeqsaub0i6y.cloudfront.net/javascripts/ https://d3bpeqsaub0i6y.cloudfront.net/plugins/ https://d3bpeqsaub0i6y.cloudfront.net/theme-javascripts/ https://d3bpeqsaub0i6y.cloudfront.net/svg-sprite/ https://www.google-analytics.com/analytics.js; worker-src 'self' https://global.discourse-cdn.com/meta/assets/ https://global.discourse-cdn.com/meta/brotli_asset/ https://d3bpeqsaub0i6y.cloudfront.net/javascripts/ https://d3bpeqsaub0i6y.cloudfront.net/plugins/
x-discourse-cached: true
x-request-id: b8644a71-b0b0-41fb-828f-78df6b7c7800
x-runtime: 0.002249
x-discourse-trackview: 1
strict-transport-security: max-age=31536000
헤더는 어떻게 테스트하나요?
@jomaxro 따뜻한 지원에 감사합니다.
네, 헤더에서 "noindex"를 확인했습니다.