{"id":9888,"date":"2019-03-19T06:30:04","date_gmt":"2019-03-18T21:30:04","guid":{"rendered":"https:\/\/www.suzukikenichi.com\/blog\/?p=9888"},"modified":"2019-03-19T06:13:56","modified_gmt":"2019-03-18T21:13:56","slug":"do-not-insert-iframe-in-head","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/do-not-insert-iframe-in-head\/","title":{"rendered":"head\u30bb\u30af\u30b7\u30e7\u30f3\u306biframe\u3092\u57cb\u3081\u8fbc\u3093\u3067\u306f\u3044\u3051\u306a\u3044\u3001iframe\u4ee5\u964d\u306e\u8981\u7d20\u306fGoogle\u306b\u3059\u3079\u3066\u7121\u8996\u3055\u308c\u308b"},"content":{"rendered":"<p class=\"p20-b al-r small\">[\u30ec\u30d9\u30eb: \u521d\u7d1a]<\/p>\n<p class=\"p60-b\"><code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u306b <code>iframe<\/code> \u30bf\u30b0\u3092\u57cb\u3081\u8fbc\u3093\u3067\u306f\u3044\u3051\u307e\u305b\u3093\u3002<br \/><code>iframe<\/code> \u30bf\u30b0\u4ee5\u964d\u306e\u8981\u7d20\u306f Google \u306b\u3059\u3079\u3066\u7121\u8996\u3055\u308c\u307e\u3059\u3002<br \/>\u3064\u307e\u308a\u3001<code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306e <code>iframe<\/code> \u306fSEO \u306b\u5b9f\u5bb3\u3092\u4e0e\u3048\u307e\u3059\u3002<\/p>\n<h2>iframe \u3092 body \u30bf\u30b0\u306e\u958b\u59cb\u3068\u307f\u306a\u3059<\/h2>\n<p>\u305d\u3082\u305d\u3082\u3001<code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u306e\u4e2d \u306b <code>iframe<\/code> \u3092\u914d\u7f6e\u3059\u308b\u3053\u3068\u306f HMTL \u306e\u4ed5\u69d8\u3068\u3057\u3066\u6b63\u3057\u304f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\u3057\u304b\u3057\u3001\u3082\u3057 <code>head<\/code> \u5185\u306b <code>iframe<\/code> \u304c\u5b58\u5728\u3057\u3066\u3044\u305f\u5834\u5408\u3001\u30d6\u30e9\u30a6\u30b6\u306f\u901a\u5e38\u3001\u30da\u30fc\u30b8\u5168\u4f53\u304c\u63d0\u4f9b\u3055\u308c\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u3053\u3068\u3092\u9632\u3050\u305f\u3081\u306b\u3001<code>iframe<\/code> \u3092\u898b\u3064\u3051\u308b\u3068\u305d\u3053\u304b\u3089 <code>body<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u304c\u59cb\u307e\u3063\u305f\u3068\u8a8d\u8b58\u3057\u307e\u3059\u3002<br \/>\u305d\u3057\u3066\u8aad\u307f\u53d6\u308a\u3092\u7d99\u7d9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u7d50\u679c\u3068\u3057\u3066\u3001<code>iframe<\/code> \u3088\u308a\u3082\u5f8c\u308d\u306b\u3042\u308b\uff08head \u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306e\u8981\u7d20\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u308b\u3079\u304d\uff09\u8981\u7d20\u3092\u7121\u8996\u3057\u3066\u3057\u307e\u3046\u306e\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u632f\u308b\u821e\u3044\u306f\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u3082\u5171\u901a\u3057\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u3001\u6b21\u306e\u3088\u3046\u306a\u9806\u756a\u3067 <code>iframe<\/code> \u30bf\u30b0\u304c <code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u306b\u914d\u7f6e\u3055\u308c\u3066\u3044\u305f\u3068\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<pre style=\"overflow-x: auto\"><code class=\"green\">&lt;html&gt;\r\n&lt;head&gt;\r\n......\r\n&lt;title&gt;head \u30bb\u30af\u30b7\u30e7\u30f3\u306b iframe \u3092\u57cb\u3081\u8fbc\u3093\u3067\u306f\u3044\u3051\u306a\u3044&lt;\/title&gt;\r\n&lt;meta name=\"description\" content=\"head \u30bb\u30af\u30b7\u30e7\u30f3\u306b iframe \u3092\u57cb\u3081\u8fbc\u3080\u3068 Google \u306f\u305d\u3053\u3067 body  \u30bb\u30af\u30b7\u30e7\u30f3\u304c\u59cb\u307e\u3063\u305f\u3068\u307f\u306a\u3057\u3001\u4ee5\u964d\u306e\u8981\u7d20\u3092\u7121\u8996\u3059\u308b\u3002\" \/&gt;\r\n<strong>&lt;iframe&gt;...&lt;\/iframe&gt;<\/strong>\r\n&lt;link rel=\"canonical\" href=\"https:\/\/example.com\/do-not-insert-iframe-in-head.html\" \/&gt;\r\n&lt;link rel=\"alternate\" hreflang=\"ja\" href=\"https:\/\/example.com\/do-not-insert-iframe-in-head.html\" \/&gt;\r\n&lt;link rel=\"alternate\" hreflang=\"en\" href=\"https:\/\/example.com\/en\/do-not-insert-iframe-in-head.html\" \/&gt;\r\n&lt;link rel=\"alternate\" hreflang=\"de\" href=\"https:\/\/example.com\/de\/do-not-insert-iframe-in-head.html\" \/&gt;\r\n......<\/code><\/pre>\n<p class=\"p30-t\"><code>title<\/code> \u30bf\u30b0\u3068 <code>meta description<\/code> \u30bf\u30b0\u306f\u6b63\u5e38\u306b\u8a8d\u8b58\u3055\u308c\u307e\u3059\u3002<br \/><code>iframe<\/code> \u30bf\u30b0\u306e\u4e0a\u306b\u3042\u308b\u306e\u3067\u4f55\u3082\u5f71\u97ff\u3092\u53d7\u3051\u307e\u305b\u3093\u3002<\/p>\n<p class=\"p40-b\">\u4e00\u65b9\u3001<code>rel=\"canonical\"<\/code> \u30bf\u30b0 \u3068 <code>hreflang<\/code> \u8981\u7d20\u306f <code>iframe<\/code> \u306e\u4e0b\u306b\u3042\u308a\u307e\u3059\u3002<br \/>\u3057\u305f\u304c\u3063\u3066\u3001\u3053\u308c\u3089\u306e\u30bf\u30b0\u30fb\u8981\u7d20\u306f Google \u306b\u7121\u8996\u3055\u308c\u307e\u3059\u3002<br \/>\u3064\u307e\u308a\u3001\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002<\/p>\n<p>\u521d\u3081\u306b\u3082\u66f8\u3044\u305f\u3088\u3046\u306b\u3001\u4ed5\u69d8\u4e0a <code>iframe<\/code> \u306f <code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u306b\u8a18\u8ff0\u3059\u3079\u304d\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\u81ea\u5206\u3067\u610f\u56f3\u3057\u3066\u57cb\u3081\u8fbc\u3080\u3053\u3068\u306f\u307e\u304b\u308a\u9593\u9055\u3063\u3066\u3082\u3084\u3063\u3066\u306f\u3044\u3051\u306a\u3044\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u3068\u3053\u308d\u304c\u5916\u7684\u8981\u56e0\u306b\u3088\u3063\u3066\u3001\u305f\u3068\u3048\u3070\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd\u306e JavaScript \u304c\u6c17\u4ed8\u304b\u306a\u3044\u3068\u3053\u308d\u3067 <code>iframe<\/code> \u3092 <code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u306b\u633f\u5165\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u3048\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u7d39\u4ecb\u3057\u305f iframe \u306e\u30c8\u30e9\u30d6\u30eb\u306f\u3001Google \u306e Martin Splitt\uff08\u30de\u30fc\u30c6\u30a3\u30f3\u30fb\u30b9\u30d7\u30ea\u30c3\u30c8\uff09\u6c0f\u304c\u3001DeepCrawl \u4e3b\u50ac\u306e JavaScript SEO \u52d5\u753b\u30c1\u30e3\u30c3\u30c8\u3067\u89e6\u308c\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/UwQucFG7nGQ?start=2634\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n<p>\u3061\u306a\u307f\u306b\u3053\u306e YouTube \u52d5\u753b\u3082 <code>iframe<\/code> \u3067\u57cb\u3081\u8fbc\u307e\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30d7\u30ea\u30c3\u30c8\u6c0f\u306f\u5b9f\u969b\u306b\u3001\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u88fd JavaScript \u304c <code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u306b <code>iframe<\/code> \u3092\u57cb\u3081\u8fbc\u3080\u3068\u3044\u3046\u60aa\u3055\u3092\u3057\u305f\u4e8b\u4f8b\u3092\u898b\u305f\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3057\u3087\u3046\u3002<\/p>\n<p><code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306e\u8981\u7d20\u304c\u60f3\u5b9a\u3069\u304a\u308a\u306b\u6a5f\u80fd\u3057\u3066\u3044\u306a\u3044\u3068\u304d\u306f\u3001<code>head<\/code> \u30bb\u30af\u30b7\u30e7\u30f3\u306b <code>iframe<\/code> \u304c\u7d1b\u308c\u8fbc\u3093\u3067\u3044\u306a\u3044\u304b\u3069\u3046\u304b\u3092\u7591\u3046\u3053\u3068\u3082\u30c8\u30e9\u30d6\u30eb\u30b7\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e 1 \u3064\u306b\u542b\u3081\u3066\u304a\u304f\u3068\u3088\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>head \u30bb\u30af\u30b7\u30e7\u30f3\u306b iframe \u30bf\u30b0\u3092\u57cb\u3081\u8fbc\u3093\u3067\u306f\u3044\u3051\u306a\u3044\u3002iframe \u30bf\u30b0\u4ee5\u964d\u306e\u8981\u7d20\u306f Google \u306b\u3059\u3079\u3066\u7121\u8996\u3055\u308c\u308b\u3002\u3064\u307e\u308a\u3001head \u30bb\u30af\u30b7\u30e7\u30f3\u5185\u306e iframe \u306fSEO \u306b\u5b9f\u5bb3\u3092\u4e0e\u3048\u308b\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[578,759],"class_list":["post-9888","post","type-post","status-publish","format-standard","category-google-seo","tag-javascript","tag-iframe"],"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/9888","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=9888"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/9888\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=9888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=9888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=9888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}