{"id":11252,"date":"2021-03-12T06:55:49","date_gmt":"2021-03-11T21:55:49","guid":{"rendered":"https:\/\/www.suzukikenichi.com\/blog\/?p=11252"},"modified":"2021-03-12T06:48:12","modified_gmt":"2021-03-11T21:48:12","slug":"google-supports-rel-canonical-injected-by-javascript","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/google-supports-rel-canonical-injected-by-javascript\/","title":{"rendered":"JavaScript\u633f\u5165\u3057\u305frel=canonical\u3092Google\u306f\u51e6\u7406\u3067\u304d\u308b"},"content":{"rendered":"<p class=\"p20-b al-r small\">[\u30ec\u30d9\u30eb: \u4e0a\u7d1a]<\/p>\n<p class=\"p60-b\">JavaScript \u306b\u3088\u3063\u3066\u633f\u5165\u3057\u305f <code>rel=\"canonical\"<\/code> \u3092 Google \u306f\u8a8d\u8b58\u3001\u51e6\u7406\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>JS \u633f\u5165\u306e rel=canonical \u3092\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u304b\u3063\u305f\u306e\u306f\u6614\u306e\u8a71<\/h2>\n<blockquote><p>\u300c\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u524d\u306e\u3001\u521d\u671f\u72b6\u614b\u306e HTML \u30b3\u30fc\u30c9\u306b\u3042\u308b rel=&#8221;canonical&#8221; \u3060\u3051\u3092 Google \u306f\u51e6\u7406\u3059\u308b\u300d\u3068 John Mueller \u304c\u3061\u3087\u3063\u3068\u524d\u306b\u8a00\u3063\u3066\u3044\u305f\u304c\u4eca\u3067\u3082\u305d\u3046\u306a\u306e\u304b\uff1f<\/p><\/blockquote>\n<p>Google \u306e Martin Splitt\uff08\u30de\u30fc\u30c6\u30a3\u30f3\u30fb\u30b9\u30d7\u30ea\u30c3\u30c8\uff09\u6c0f\u306b Twitter \u3067\u3053\u306e\u3088\u3046\u306b\u8cea\u554f\u3057\u305f\u30e6\u30fc\u30b6\u30fc\u304c\u3044\u307e\u3057\u305f\u3002<\/p>\n<blockquote class=\"twitter-tweet\" data-theme=\"dark\">\n<p lang=\"en\" dir=\"ltr\"><a href=\"https:\/\/twitter.com\/g33konaut?ref_src=twsrc%5Etfw\">@g33konaut<\/a> Does Google still only process rel=&quot;canonical&quot; in the initially fetched, non-rendered HTML? John tweeted this a while ago.<\/p>\n<p>&mdash; Ludde (@luddeluddeludde) <a href=\"https:\/\/twitter.com\/luddeluddeludde\/status\/1370083396483956738?ref_src=twsrc%5Etfw\">March 11, 2021<\/a><\/p><\/blockquote>\n<p>  <script defer src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p>\u3053\u306e\u4eba\u304c\u6307\u3057\u3066\u3044\u308b\u306e\u306f\u304a\u305d\u3089\u304f\u30b8\u30e7\u30f3\u306e\u3053\u3061\u3089\u306e\u30c4\u30a4\u30fc\u30c8\u3067\u3059\u3002<\/p>\n<blockquote class=\"twitter-tweet\" data-conversation=\"none\" data-theme=\"dark\">\n<p lang=\"en\" dir=\"ltr\">We (currently) only process the rel=canonical on the initially fetched, non-rendered version.<\/p>\n<p>&mdash; &#x1f34c; John &#x1f34c; (@JohnMu) <a href=\"https:\/\/twitter.com\/JohnMu\/status\/994713207913639939?ref_src=twsrc%5Etfw\">May 10, 2018<\/a><\/p><\/blockquote>\n<p>\u300c\u3061\u3087\u3063\u3068\u524d\u306b\u300d\u3068\u8cea\u554f\u8005\u306f\u8a00\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u30b8\u30e7\u30f3\u306e\u767a\u8a00\u306f 2018 \u5e74 5 \u6708\u306e\u30c4\u30a4\u30fc\u30c8\u3067\u3059\u304b\u3089 3 \u5e74\u8fd1\u304f\u524d\u3067\u3059\u3002<br \/>\u304b\u306a\u308a\u53e4\u3044\u60c5\u5831\u3092\u53c2\u7167\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong><mark>\u73fe\u5728\u306e Google \u306f\u3001JavaScript \u3067\u633f\u5165\u3057\u305f <code>rel=\"canonical\"<\/code> \u3082\u304d\u3061\u3093\u3068\u51e6\u7406\u3067\u304d\u307e\u3059<\/mark><\/strong>\u3002<br \/>\u3082\u3063\u3068\u8a00\u3048\u3070\u3001<code>rel=\"canonical\"<\/code> \u306b\u9650\u3089\u305a JavaScript \u3067\u751f\u6210\u3057\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4e0a\u624b\u306b\u51e6\u7406\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001<a href=\"https:\/\/www.suzukikenichi.com\/blog\/googlebot-has-significantly-improved-its-speed-of-rendering\/\">HTML \u53d6\u5f97\u3068\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u5b9f\u884c\u306e\u30bf\u30a4\u30e0\u30e9\u30b0\u3082\u6c17\u306b\u3059\u308b\u307b\u3069\u3067\u306f<\/a>\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001JavaScript \u633f\u5165\u306e <code>rel=\"canonical\"<\/code> \u304c\u6a5f\u80fd\u3059\u308b\u3068\u3057\u3066\u3082 \u521d\u671f\u306e HTML \u306b\u57cb\u3081\u8fbc\u3093\u3067\u304a\u304f\u307b\u3046\u3092\u63a8\u5968\u3059\u308b\u3068\u3082\u30b9\u30d7\u30ea\u30c3\u30c8\u6c0f\u306f\u88dc\u8db3\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote class=\"twitter-tweet\" data-conversation=\"none\" data-theme=\"dark\">\n<p lang=\"en\" dir=\"ltr\">That tweet is saying that they&#39;re supported, John doesn&#39;t dispute that&#8230; I&#39;m confused.<\/p>\n<p>I&#39;m also confused that a tweet from 2018 is regarded &quot;recently&quot; &#x1f602;<\/p>\n<p>Also, yes, JS canonicals work but I&#39;d also recommend to have em in the initial HTML.<\/p>\n<p>&mdash; Martin Splitt (@g33konaut) <a href=\"https:\/\/twitter.com\/g33konaut\/status\/1370101398298370051?ref_src=twsrc%5Etfw\">March 11, 2021<\/a><\/p><\/blockquote>\n<p class=\"p40-b\">\u3053\u308c\u306f\u3001\u304a\u305d\u3089\u304f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3067\u304d\u306a\u3044\u53ef\u80fd\u6027\u3092\u5b8c\u5168\u306b\u306f\u6392\u9664\u3057\u3066\u3044\u306a\u3044\u304b\u3089\u3067\u3057\u3087\u3046\uff08\u305f\u3068\u3048\u3070\u3001\u4f55\u3089\u304b\u306e\u7406\u7531\u3067 JS \u306e\u8aad\u307f\u8fbc\u307f\u306b\u5931\u6557\u3057\u305f\u3068\u304b\uff09\u3002<br \/>URL \u691c\u67fb\u30c4\u30fc\u30eb\u3067\u691c\u8a3c\u3057\u3066\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u5f8c\u306e HTML \u30b3\u30fc\u30c9\u306b <code>rel=\"canonical\"<\/code> \u3092\u78ba\u8a8d\u3067\u304d\u308c\u3070\u901a\u5e38\u306f\u554f\u984c\u306a\u3044\u306f\u305a\u3067\u3059\u3002<\/p>\n<h2>JS \u3067\u524a\u9664\u3059\u308b noindex \u306f\u8981\u6ce8\u610f<\/h2>\n<p>JavaScript \u3067\u64cd\u4f5c\u3059\u308b <code>noindex robots meta<\/code> \u30bf\u30b0\u306b\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p>JavaScript \u3067\u633f\u5165\u3059\u308b <code>noindex<\/code> \u3082 Google \u306f\u304d\u3061\u3093\u3068\u51e6\u7406\u3057\u307e\u3059\u3002<br \/>\u305d\u308c\u3067\u3082\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306e\u30bf\u30a4\u30e0\u30e9\u30b0\u304c\u4e07\u304c\u4e00\u767a\u751f\u3057\u305f\u3089\u3001\u3072\u3087\u3063\u3068\u3057\u305f\u3089\u77ed\u6642\u9593\u3068\u306f\u3044\u3048\u691c\u7d22\u7d50\u679c\u306b\u51fa\u308b\u3053\u3068\u304c\u3042\u308b\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002<br \/>\u3068\u306f\u3044\u3048\u3001\u307b\u3068\u3093\u3069\u306e\u30b1\u30fc\u30b9\u3067\u306f\u554f\u984c\u3092\u8d77\u3053\u3055\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u4e00\u65b9\u3067\u3001<strong><mark>JavaScript \u3067\u524a\u9664\u3059\u308b <code>noindex<\/code> \u306f\u6a5f\u80fd\u3057\u307e\u305b\u3093<\/mark><\/strong>\u3002<br \/>\u3064\u307e\u308a\u3001\u521d\u671f\u72b6\u614b\u3067 <code>noindex<\/code> \u304c HTML \u306b\u5b58\u5728\u3057\u3066\u3044\u3066\u3001\u305d\u308c\u3092 JavaScript \u3067\u53d6\u308a\u9664\u304f\u69cb\u6210\u3067\u3059\u3002<\/p>\n<p>noindex \u3092\u767a\u898b\u3057\u305f\u6642\u70b9\u3067 Google \u691c\u7d22\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u30b7\u30b9\u30c6\u30e0 (WRS) \u306f\u3001JavaScript \u3092\u4f7f\u3063\u305f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u5b9f\u884c\u3057\u307e\u305b\u3093\u3002<br \/><code>noindex<\/code> \u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u305b\u306a\u3044\u4ed5\u7d44\u307f\u3067\u3059\u304b\u3089\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3057\u306a\u3044\u30da\u30fc\u30b8\u3092\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u306e\u306f\u30ea\u30bd\u30fc\u30b9\u306e\u7121\u99c4\u4f7f\u3044\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/developers.google.com\/search\/docs\/guides\/javascript-seo-basics?hl=ja#use-meta-robots-tags-carefully\">\u6280\u8853\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306b\u3082\u8a00\u53ca<\/a>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>Googlebot \u306f <code>noindex<\/code> \u30bf\u30b0\u3092\u898b\u3064\u3051\u305f\u5834\u5408\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3068 JavaScript \u306e\u5b9f\u884c\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u3002\u3053\u306e\u5834\u5408\u3001JavaScript \u304c\u30b9\u30ad\u30c3\u30d7\u3055\u308c\u308b\u305f\u3081\u3001\u30da\u30fc\u30b8\u304b\u3089\u30bf\u30b0\u304c\u524a\u9664\u3055\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002JavaScript \u3092\u4f7f\u7528\u3057\u3066 <code>robots<\/code> \u30e1\u30bf\u30bf\u30b0\u3092\u5909\u66f4\u307e\u305f\u306f\u524a\u9664\u3057\u3066\u3082\u3001\u671f\u5f85\u3069\u304a\u308a\u306b\u52d5\u4f5c\u3057\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<code>robots<\/code> \u30e1\u30bf\u30bf\u30b0\u306e\u5148\u982d\u306b <code>noindex<\/code> \u304c\u542b\u307e\u308c\u3066\u3044\u308b\u3068\u3001Googlebot \u306f\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3068 JavaScript \u306e\u5b9f\u884c\u3092\u30b9\u30ad\u30c3\u30d7\u3057\u307e\u3059\u3002\u30da\u30fc\u30b8\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u5834\u5408\u306f\u3001\u5143\u306e\u30da\u30fc\u30b8\u30b3\u30fc\u30c9\u3067 <code>noindex<\/code> \u30bf\u30b0\u3092\u4f7f\u7528\u3057\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002<\/p><\/blockquote>\n<p class=\"p60-t\">\u30da\u30fc\u30b8\u3067\u898b\u305b\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u3060\u3051\u3067\u306f\u306a\u304f\u3001head \u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306e\u8981\u7d20\u3082 JavaScript \u3067\u64cd\u4f5c\u3057\u3066\u3044\u308b\u30b5\u30a4\u30c8\u306f\u3053\u306e\u8a18\u4e8b\u3067\u8aac\u660e\u3057\u305f\u3053\u3068\u3092\u7406\u89e3\u3057\u3066\u304a\u304f\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript \u306b\u3088\u3063\u3066\u633f\u5165\u3057\u305f rel=canonical \u3092 Google \u306f\u8a8d\u8b58\u3001\u51e6\u7406\u3067\u304d\u308b\u3002\u30b5\u30dd\u30fc\u30c8\u3057\u306a\u304b\u3063\u305f\u306e\u306f\u6614\u306e\u8a71\u3060\u3002<\/p>\n","protected":false},"author":1,"featured_media":11253,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[227,578,614],"class_list":["post-11252","post","type-post","status-publish","format-standard","has-post-thumbnail","category-google-seo","tag-noindex","tag-javascript","tag-rel-canonical"],"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/11252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/comments?post=11252"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/11252\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media\/11253"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=11252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=11252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=11252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}