{"id":8258,"date":"2015-08-03T06:00:32","date_gmt":"2015-08-02T21:00:32","guid":{"rendered":"https:\/\/www.suzukikenichi.com\/blog\/?p=8258"},"modified":"2015-08-03T05:51:57","modified_gmt":"2015-08-02T20:51:57","slug":"what-you-need-to-understand-for-messages-about-blocking-css-and-js","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/what-you-need-to-understand-for-messages-about-blocking-css-and-js\/","title":{"rendered":"Google\u304c\u9001\u3063\u3066\u304d\u305fCSS\u3068JS\u306e\u30d6\u30ed\u30c3\u30af\u8b66\u544a\u306b\u6b63\u3057\u304f\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u3053\u3068"},"content":{"rendered":"<p class=\"p20-b al-r small\">[\u30ec\u30d9\u30eb: \u4e2d\u301c\u4e0a\u7d1a]<\/p>\n<p class=\"p60-b\"><a href=\"\/\/www.suzukikenichi.com\/blog\/google-sends-massages-to-sites-blocking-css-and-javascript\/\">CSS\u3068JavaScript\u30d5\u30a1\u30a4\u30eb\u306bGooglebot\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u30b5\u30a4\u30c8<\/a>\u306b\u5bfe\u3057\u3066\u3001\u5148\u9031Google\u304c\u4e00\u6589\u306b\u8b66\u544a\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u307e\u3057\u305f\u3002<br \/>\n\u3053\u306e\u51fa\u6765\u4e8b\u306b\u95a2\u3057\u3066\u3001\u65b0\u3057\u3044\u60c5\u5831\u304c\u5165\u3063\u3066\u304d\u305f\u308a\u8aa4\u89e3\u304c\u3042\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u30d5\u30a9\u30ed\u30fc\u30a2\u30c3\u30d7\u8a18\u4e8b\u3092\u66f8\u304d\u307e\u3059\u3002<\/p>\n<h2>\u30da\u30ca\u30eb\u30c6\u30a3\u3067\u306f\u306a\u3044\u3057\u9806\u4f4d\u306f\u4e0b\u3052\u3089\u308c\u306a\u3044<\/h2>\n<p>\u524d\u56de\u3082\u66f8\u3044\u305f\u3088\u3046\u306b\u3053\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u624b\u52d5\u306b\u3088\u308b\u5bfe\u7b56\uff08\u30da\u30ca\u30eb\u30c6\u30a3\uff09\u3092\u901a\u77e5\u3059\u308b\u3082\u306e\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u7d14\u7c8b\u306b\u3001CSS\u3084JavaScript\u306e\u30d5\u30a1\u30a4\u30eb\u306bGooglebot\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3053\u3068\u3092\u4f1d\u3048\u308b\u306e\u304c\u76ee\u7684\u3067\u3059\u3002<br \/>\nCSS\u3084JavaScript\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3068\u305d\u306e\u30da\u30fc\u30b8\u3092\u5b8c\u5168\u306b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\uff08\u8868\u793a\uff09\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u3042\u308b\u306e\u3067\u3001\u9069\u5207\u306a\u8a55\u4fa1\u306e\u59a8\u3052\u306b\u306a\u308b\u3068\u77e5\u3089\u305b\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/p>\n<p>\u307e\u305fCSS\u3084JavaScript\u3092\u30d6\u30ed\u30c3\u30af\u3057\u3066\u3044\u308b\u3053\u3068\u305d\u306e\u3082\u306e\u304c\u7406\u7531\u3067\u9806\u4f4d\u3092\u4e0b\u3052\u3089\u308c\u308b\u3053\u3068\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u305f\u3060\u3057\u5b8c\u5168\u306b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3067\u304d\u306a\u3044\u305f\u3081\u9069\u5207\u306b\u8a55\u4fa1\u3067\u304d\u305a\u3001\u691c\u7d22\u7d50\u679c\u3067\u672c\u6765\u3088\u308a\u3082\u4f4e\u3044\u9806\u4f4d\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\uff08\u826f\u3044\u3053\u3068\u3067\u306f\u306a\u3044\u3067\u3059\u3088\u306d\u3001\u3060\u304b\u3089\u30d6\u30ed\u30c3\u30af\u3057\u306a\u3044\u3088\u3046\u306b\u3068Google\u306f\u6ce8\u610f\u3092\u4fc3\u3057\u3066\u3044\u308b\u306e\u3067\u3059\uff09\u3002<\/p>\n<h3>\u5fc5\u8981\u306a\u30d6\u30ed\u30c3\u30af\u3067\u3042\u308c\u3070\u305d\u306e\u307e\u307e<\/h3>\n<p class=\"p40-b\">\u30ea\u30bd\u30fc\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306e\u30d6\u30ed\u30c3\u30af\u3092\u3001\u3044\u304b\u306a\u308b\u72b6\u6cc1\u306b\u304a\u3044\u3066\u3082Google\u304c\u7981\u6b62\u3057\u3066\u3044\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u9593\u9055\u3044\u306a\u304f\u5fc5\u8981\u306a\u306e\u3067\u3042\u308c\u3070\u3001robots.txt\u3067Googlebot\u306e\u30af\u30ed\u30fc\u30eb\u3092\u62d2\u5426\u3059\u308b\u3053\u3068\u306b\u4f55\u3089\u554f\u984c\u306f\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u884c\u304d\u904e\u304e\u305f\u89e3\u91c8\u3092\u3057\u306a\u3044\u3088\u3046\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306eJS\u3068CSS\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b<\/h2>\n<p>\u4e3b\u3068\u3057\u3066\u3001\u30b5\u30a4\u30c8\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u308b\u3068\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\n\u307e\u305f\u30e2\u30d0\u30a4\u30eb\u30b5\u30a4\u30c8\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3082\u540c\u69d8\u306b\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30e1\u30c3\u30bb\u30fc\u30b8\u3060\u3051\u306b\u9650\u3063\u305f\u5bfe\u51e6\u3067\u3042\u308c\u3070\u3001\u307e\u305a\u306f\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u30d6\u30ed\u30c3\u30af\u3057\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\uff08\u30a2\u30bb\u30c3\u30c8\uff09\u304c\u4f55\u306a\u306e\u304b\u3092\u7a81\u304d\u6b62\u3081\u3066\u3001\u4e0d\u8981\u306a\u30d6\u30ed\u30c3\u30af\u3067\u3042\u308c\u3070\u89e3\u9664\u3057\u307e\u3059\u3002<\/p>\n<p>\u3068\u306f\u3044\u3048\u3001\u6700\u7d42\u7684\u306b\u306f\u3059\u3079\u3066\u306e\u30da\u30fc\u30b8\u306b\u304a\u3044\u3066\u3001\u30d6\u30ed\u30c3\u30af\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n<a href=\"\/\/www.suzukikenichi.com\/blog\/2-new-features-in-webmaster-tools-blocked-resouces-and-comparing-fetch-as-google\/\">Search Console\u306e\u6a5f\u80fd<\/a>\u3067\u78ba\u304b\u3081\u3089\u308c\u307e\u3059<\/p>\n<h3>Fetch and Redner as Google\u3067\u78ba\u8a8d<\/h3>\n<p>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u30d6\u30ed\u30c3\u30af\u3057\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u3092\u78ba\u8a8d\u3059\u308b\u306b\u306f\u3001\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3092\u5bfe\u8c61\u306b\u3057\u3066<a href=\"\/\/www.suzukikenichi.com\/blog\/fetch-as-google-can-render-your-webpages-now\/\">Fetch as Google\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0<\/a>\u691c\u8a3c\u3057\u307e\u3059\u3002<br \/>\n\u5fc5\u305a\u3001\u30a6\u30a7\u30d6\u7528\u306eGooglebot\uff08PC)\u3068\u30e2\u30d0\u30a4\u30eb\u7528Googlebot\uff08\u30e2\u30d0\u30a4\u30eb: \u30b9\u30de\u30fc\u30c8\u30d5\u30a9\u30f3\uff09\u306e\u4e21\u65b9\u3067\u691c\u8a3c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><a href=\"\/\/www.suzukikenichi.com\/images\/fetch-and-rendeer-as-google.png\" rel=\"lightbox\"><img decoding=\"async\" itemprop=\"image\" src=\"\/\/www.suzukikenichi.com\/images\/fetch-and-rendeer-as-google2.png\" alt=\"Fetch and Redner as Google\u3067\u30d6\u30ed\u30c3\u30af\u3055\u308c\u305f\u30ea\u30bd\u30fc\u30b9\u3092\u78ba\u8a8d\" \/><\/a><\/p>\n<p class=\"p40-b\">\u300cGooglebot \u306f\u3053\u306e\u30da\u30fc\u30b8\u306e\u4e00\u90e8\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u53d6\u5f97\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u53d6\u5f97\u3067\u304d\u306a\u304b\u3063\u305f\u30ea\u30bd\u30fc\u30b9\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u300d\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u30d6\u30ed\u30c3\u30af\u3055\u308c\u3066\u3044\u308b\u30ea\u30bd\u30fc\u30b9\u3067\u3059\u3002<br \/>\n\u3053\u306e\u5834\u6240\u306b\u51fa\u3066\u3044\u308b\u3042\u306a\u305f\u306e<strong>\u30b5\u30a4\u30c8\u5185\u306e\u30ea\u30bd\u30fc\u30b9<\/strong>\u3092\u898b\u3066\u304f\u3060\u3055\u3044\uff08\u8a73\u3057\u304f\u306f\u6b21\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\uff09\u3002<\/p>\n<h2>\u305d\u306e\u30b5\u30a4\u30c8\u306eCSS\u3068JS\u304c\u5bfe\u8c61\u3001\u5916\u90e8\u30b5\u30a4\u30c8\u306f\u5bfe\u8c61\u5916<\/h2>\n<p>\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u5bfe\u8c61\u306b\u306a\u308b\u306e\u306f\u3001\u305d\u306e\u30b5\u30a4\u30c8\u306b\u7f6e\u3044\u3066\u3042\u308bCSS\u3068JavaScript\u3067\u3059\u3002<br \/>\n\u5916\u90e8\u30b5\u30a4\u30c8\u306b\u7f6e\u3044\u3066\u3042\u308bCSS\u3068JavaScript\u306f\u5bfe\u8c61\u306b\u306a\u308a\u307e\u305b\u3093\u3002<br \/>\n\u3057\u305f\u304c\u3063\u3066\u3001\u81ea\u5206\u306e\u30b5\u30a4\u30c8\u306b\u3042\u308b\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30d6\u30ed\u30c3\u30af\u3092\u307e\u305a\u306f\u89e3\u9664\u3057\u307e\u3059\u3002<\/p>\n<h3>\u5916\u90e8\u30b5\u30a4\u30c8\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30d6\u30ed\u30c3\u30af<\/h3>\n<p>\u5916\u90e8\u30b5\u30a4\u30c8\u306bCSS\u30d5\u30a1\u30a4\u30eb\u3092\u7f6e\u304f\u3068\u3044\u3046\u30b1\u30fc\u30b9\u306f\u7a00\u3067\u3057\u3087\u3046\u304c\u3001JavaScript\u3092\u5916\u90e8\u30b5\u30a4\u30c8\u304b\u3089\u8aad\u307f\u8fbc\u3080\u3053\u3068\u306f\u3088\u304f\u3042\u308b\u3053\u3068\u3067\u3059\u3002<br \/>\n\u5e83\u544a\u3084\u30a2\u30af\u30bb\u30b9\u89e3\u6790\u30c4\u30fc\u30eb\u3001\u30bd\u30fc\u30b7\u30e3\u30eb\u30dc\u30bf\u30f3\u306a\u3069\u3055\u307e\u3056\u307e\u306a\u76ee\u7684\u3067\u5916\u90e8\u30b5\u30a4\u30c8\u306eJavaScript\u304c\u8aad\u307f\u8fbc\u308c\u307e\u3059\u3002<\/p>\n<p class=\"p40-b\">\u57fa\u672c\u7684\u306b\u3001\u5916\u90e8\u30b5\u30a4\u30c8\u306a\u3089\u3070\u30ea\u30bd\u30fc\u30b9\u304c\u30d6\u30ed\u30c3\u30af\u3055\u308c\u3066\u3044\u3066\u3082\u7121\u8996\u3067\u304d\u307e\u3059\u3002<br \/>\n\u305d\u3082\u305d\u3082\u81ea\u5206\u306e\u624b\u304c\u53ca\u3070\u306a\u3044\u30b5\u30a4\u30c8\u306a\u306e\u3067\u3069\u3046\u3057\u3088\u3046\u3082\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u305f\u3060\u3057\u3001\u5927\u5207\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306b\u305d\u306e\u30ea\u30bd\u30fc\u30b9\u304c\u95a2\u308f\u308b\u3082\u306e\u3067\u3042\u308c\u3070\u826f\u304f\u306a\u3044\u5f71\u97ff\u304c\u8d77\u304d\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u305d\u306e\u30ea\u30bd\u30fc\u30b9\u3092\u81ea\u5206\u306e\u30b5\u30a4\u30c8\u306b\u30b3\u30d4\u30fc\u3057\u3066Googlebot\u306b\u30a2\u30af\u30bb\u30b9\u3055\u305b\u308b\u3068\u3044\u3063\u305f\u3088\u3046\u306a\u5bfe\u51e6\u304c\u6c42\u3081\u3089\u308c\u307e\u3059\u3002<\/p>\n<h2>CSS\u3068JS\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u308c\u306a\u3044<\/h2>\n<p class=\"p40-b\">CSS\u3084JavaScript\u3092\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u3068\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u308c\u3066\u691c\u7d22\u7d50\u679c\u306b\u51fa\u3066\u304d\u3066\u3057\u307e\u3046\u306e\u3067\u306f\u306a\u3044\u304b\u3068\u3044\u3046\u61f8\u5ff5\u3092\u62b1\u304f\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<br \/>\n\u3057\u304b\u3057CSS\u3068JavaScript\u30d5\u30a1\u30a4\u30eb\u304c\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u308c\u308b\u3053\u3068\u306f\u901a\u5e38\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n<a href=\"https:\/\/support.google.com\/webmasters\/answer\/35287?hl=ja\">Google\u304c\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u767b\u9332\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u5f62\u5f0f<\/a>\u306b\u306f\u3069\u3061\u3089\u3082\u542b\u307e\u308c\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n<h2>\u305f\u304f\u3055\u3093\u306eCSS\u3068JS\u3092\u30af\u30ed\u30fc\u30eb\u3055\u305b\u3066\u3082\u5f0a\u5bb3\u306a\u3057<\/h2>\n<p>\u975e\u5e38\u306b\u591a\u304f\u306eCSS\u3084JS\u30d5\u30a1\u30a4\u30eb\u304c\u5b58\u5728\u3059\u308b\u74b0\u5883\u3060\u3068\u3001\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306bGooglebot\u304c\u30af\u30ed\u30fc\u30eb\u3092\u8a66\u307f\u308b\u3053\u3068\u3067\u60aa\u3044\u5f71\u97ff\u304c\u51fa\u3066\u304f\u308b\u306e\u306f\u306a\u3044\u304b\u3068\u3044\u3046\u5fc3\u914d\u3082\u51fa\u3066\u307e\u3059\u3002<br \/>\n\u305f\u3068\u3048\u3070\u3001\u4ed6\u306e\u30da\u30fc\u30b8\u3078\u306e\u30af\u30ed\u30fc\u30eb\u304c\u6e1b\u3063\u3066\u3057\u307e\u3046\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p class=\"p40-b\">\u3067\u3059\u304c\u305d\u3046\u3044\u3063\u305f\u5fc3\u914d\u3082\u3042\u308a\u307e\u305b\u3093\u3002<br \/>\n\u305f\u304f\u3055\u3093\u306eCSS\u3068JS\u3092\u30af\u30ed\u30fc\u30eb\u3055\u305b\u3066\u3082\u3001\u305d\u308c\u306b\u3088\u308b\u5f0a\u5bb3\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<h2>Googlebot\u306b\u3060\u3051\u30af\u30ed\u30fc\u30eb\u3092\u8a31\u53ef\u3059\u308brobots.txt\u8a2d\u5b9a<\/h2>\n<p>Googlebot\u306b\u5bfe\u3057\u3066\u306f\u3001CSS\u3068JavaScript\u30d5\u30a1\u30a4\u30eb\u306e\u30af\u30ed\u30fc\u30eb\u3092\u78ba\u5b9f\u306b\u8a31\u53ef\u3057\u3066\u304a\u304frobots.txt\u8a2d\u5b9a\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306e\u3088\u3046\u306brobots.txt\u306b\u3082\u3068\u3082\u3068\u8a18\u8ff0\u3057\u3066\u3044\u305f\u3068\u3057\u307e\u3059\u3002<\/p>\n<pre style=\"overflow-x: auto\"><code class=\"green\">User-Agent: *\r\nDisallow: \/secret\/\r\nDisallow: \/js\/\r\nDisallow: \/css\/\r\nDisallow: \/wp-content\/\r\n<\/code><\/pre>\n<p class=\"p30-t\">\u3059\u3079\u3066\u306e\u30af\u30ed\u30fc\u30e9\u306b\u5bfe\u3057\u3066\u3001secret\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068 js\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001css\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3001wp-content\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62d2\u5426\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\njs\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306fJavaScript\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3057\u3001css\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306fCSS\u30d5\u30a1\u30a4\u30eb\u3092\u683c\u7d0d\u3057\u3066\u3044\u305f\u3068\u3057\u307e\u3059\u3002<br \/>\nwp-content\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306f\u5229\u7528\u3057\u3066\u3044\u308bCMS\u304c\u5fc5\u8981\u3068\u3059\u308b\u7a2e\u3005\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u683c\u7d0d\u3055\u308c\u3001\u305d\u306e\u306a\u304b\u306e\u4e00\u90e8\u306b\u306fCSS\u3068JavaScript\u30d5\u30a1\u30a4\u30eb\u3082\u542b\u307e\u308c\u3066\u3044\u305f\u3068\u3057\u307e\u3059\u3002<\/p>\n<p>\u539f\u5247\u7684\u306b\u306f\u3001\u3053\u308c\u3089\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u306e\u306a\u304b\u306e\u30d5\u30a1\u30a4\u30eb\uff09\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u62d2\u5426\u3057\u3064\u3064\u3001Googlebot\u306b\u5bfe\u3057\u3066\u3060\u3051\u306fCSS\u3068JavaScript\u30d5\u30a1\u30a4\u30eb\u306b\u9650\u3063\u3066\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n\u6b21\u306e\u3088\u3046\u306brobots.txt\u3092\u7de8\u96c6\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre style=\"overflow-x: auto\"><code class=\"green\">#\u3059\u3079\u3066\u306e\u30af\u30ed\u30fc\u30e9\u306b\u5bfe\u3059\u308b\u8a2d\u5b9a\uff08Googlebot\u3092\u9664\u304f\uff09\r\nUser-Agent: *\r\nDisallow: \/secret\/\r\nDisallow: \/js\/\r\nDisallow: \/css\/\r\nDisallow: \/wp-content\/\r\n\r\n#Googlebot\u306b\u5bfe\u3059\u308b\u8a2d\u5b9a\r\nUser-Agent: Googlebot\r\nDisallow: \/secret\/\r\nDisallow: \/wp-content\/\r\nAllow: \/wp-content\/*.js$\r\nAllow: \/wp-content\/*.css$<\/code><\/pre>\n<p class=\"p30-t\">Googlebot\u306b\u5bfe\u3059\u308b\u8a2d\u5b9a\u3092\u4ed8\u3051\u8db3\u3057\u307e\u3057\u305f\u3002<br \/>\n\u300cUser-Agent\u300d\u306b\u300cGooglebot\u300d\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u3001Googlebot\u306f\u3053\u3061\u3089\u306e\u547d\u4ee4\u306b\u512a\u5148\u7684\u306b\u5f93\u3046\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001\u4e0b\u306e2\u884c\u3092\u524a\u9664\u3057\u307e\u3057\u305f\u3002<\/p>\n<pre style=\"overflow-x: auto\"><code class=\"green\">Disallow: \/js\/\r\nDisallow: \/css\/<\/code><\/pre>\n<p class=\"p30-t\">JavaScript\u30d5\u30a1\u30a4\u30eb\u3068CSS\u30d5\u30a1\u30a4\u30eb\u304c\u5165\u3063\u3066\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059\u304c\u3001\u666e\u901a\u306b\u30af\u30ed\u30fc\u30eb\u3055\u305b\u308b\u306e\u3067\u62d2\u5426\u8a2d\u5b9a (Disallow) \u306f\u4e0d\u8981\u3060\u304b\u3089\u3067\u3059\u3002<br \/>\n\u62d2\u5426\u8a2d\u5b9a\u304c\u306a\u3051\u308c\u3070\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e00\u65b9\u3067\u4e0b\u306e2\u884c\u3092\u8ffd\u52a0\u307e\u3057\u305f\u3002<\/p>\n<pre style=\"overflow-x: auto\"><code class=\"green\">Allow: \/wp-content\/*.js$\r\nAllow: \/wp-content\/*.css$<\/code><\/pre>\n<p class=\"p30-t\"><a href=\"\/\/www.suzukikenichi.com\/blog\/when-to-use-allow-directive-in-robots-txt\/\">Allow\u306f\u30af\u30ed\u30fc\u30eb\u3092\u660e\u793a\u7684\u306b\u8a31\u53ef\u3059\u308b\u69cb\u6587<\/a>\u3067\u3059\u3002<br \/>\nrobots.txt\u306e\u6a19\u6e96\u4ed5\u69d8\u3067\u306a\u304f\u62e1\u5f35\u4ed5\u69d8\u3067\u3001Google\u306f\u30b5\u30dd\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n<p>wp-content\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u306e\u30a2\u30af\u30bb\u30b9\u306f\u7981\u6b62\u3059\u308b\u3051\u308c\u3069\u3001\u62e1\u5f35\u5b50\u304c .js \u306e\u30d5\u30a1\u30a4\u30eb\u3068 .css\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u9650\u3063\u3066\u306f\u30a2\u30af\u30bb\u30b9\u3092\u8a31\u53ef\u3059\u308b\u3068\u3044\u3046\u4f8b\u5916\u8a2d\u5b9a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u3092Googlebot\u306f\u30af\u30ed\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>wp-content\/hogehoge.js<\/code><\/li>\n<li><code>wp-content\/fugafuga.css<\/code><\/li>\n<li><code>wp-content\/plugins\/abc\/mugamuga.js<\/code><\/li>\n<li><code>wp-content\/themes\/xyz\/css\/oraora.css<\/code><\/li>\n<\/ul>\n<p>\u3057\u304b\u3057 .js \u3068 .css \u3067\u306f\u306a\u3044\u3001\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306f\u30af\u30ed\u30fc\u30eb\u3057\u307e\u305b\u3093\u3002<\/p>\n<ul>\n<li><code>wp-content\/upup.php<\/code><\/li>\n<li><code>wp-content\/downdown.html<\/code><\/li>\n<li><code>wp-content\/plugins\/abc\/rightright.txt<\/code><\/li>\n<li><code>wp-content\/themes\/xyz\/css\/leftleft.png<\/code><\/li>\n<\/ul>\n<p class=\"p30-t\">\nrobots.txt\u306f\u3088\u308a\u7279\u5b9a\u3057\u305f\u6307\u5b9a\u306b\u5f93\u3046\u4ed5\u69d8\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3064\u307e\u308a\u305d\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u7279\u5b9a\u3057\u305f\u300c*.js$\u300d\u3068\u300c*.css$\u300d\u306eAllow\u69cb\u6587\u3067\u3001JavaScript\u30d5\u30a1\u30a4\u30eb\u3068CSS\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30af\u30ed\u30fc\u30eb\u3092\u8a31\u53ef\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001<code>*****************\/*.js$<\/code> \u3068\u66f8\u3051\u3070\u3001\u8907\u6570\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306eJS\u30d5\u30a1\u30a4\u30eb\u306e\u30af\u30ed\u30fc\u30eb\u3092\u307e\u3068\u3081\u3066\u8a31\u53ef\u3067\u304d\u305f\u308a\u3057\u307e\u3059\u3002<br \/>\n\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u540d\u524d\u306e\u6587\u5b57\u6570\u304c\u4e00\u5b9a\u6570\u4ee5\u4e0a\u3060\u3068 <code>*\/*.js$<\/code> \u3067\u306f\u30c0\u30e1\u3060\u3063\u305f\u308a\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/developers.google.com\/webmasters\/control-crawl-index\/docs\/robots_txt?hl=ja\">robots.txt\u306e\u8a73\u3057\u3044\u4ed5\u69d8<\/a>\u306fGoogle Developers\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\uff08\u3044\u3064\u306e\u9593\u306b\u304b\u65e5\u672c\u8a9e\u5316\u3055\u308c\u3066\u307e\u3059\uff01\uff09\u3002<\/p>\n<h3>robots.txt\u30c6\u30b9\u30bf\u30fc\u3067\u4e8b\u524d\u691c\u8a3c<\/h3>\n<p>robots.txt\u3092\u7de8\u96c6\u3059\u308b\u969b\u306b\u306f\u3001\u671f\u5f85\u3057\u305f\u3068\u304a\u308a\u306b\u52d5\u4f5c\u3059\u308b\u304b\u3069\u3046\u304b\u3092Google Search Console\u306e<a href=\"\/\/www.suzukikenichi.com\/blog\/submitting-updated-robots-txt-to-google-via-robots-txt-tester\/\">robots.txt\u30c6\u30b9\u30bf\u30fc<\/a>\u3067<a href=\"http:\/\/web-tan.forum.impressrd.jp\/e\/2014\/07\/25\/17925#d2\">\u4e8b\u524d\u306b\u691c\u8a3c<\/a>\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n\u5148\u307b\u3069\u8aac\u660e\u3057\u305fCSS\u30d5\u30a1\u30a4\u30eb\u3068JavaScript\u30d5\u30a1\u30a4\u30eb\u306e\u8a31\u53ef\u8a2d\u5b9a\u3082\u3001\u30b5\u30a4\u30c8\u306e\u74b0\u5883\u306b\u3088\u3063\u3066\u306f\u4fee\u6b63\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<p><a href=\"\/\/www.suzukikenichi.com\/images\/robots_txt-tester-1.png\" rel=\"lightbox\"><img decoding=\"async\" itemprop=\"image\" src=\"\/\/www.suzukikenichi.com\/images\/robots_txt-tester-2.png\" alt=\"robots.txt\u30c6\u30b9\u30bf\u30fc\u306e\u691c\u8a3c\u7d50\u679c\" \/><\/a><\/p>\n<p class=\"p40-b\">\u300c\u601d\u3046\u3088\u3046\u306b\u3044\u304b\u306a\u3044\u300d\u3068\u3044\u3046\u4eba\u306f\u3001<a href=\"https:\/\/productforums.google.com\/forum\/#!forum\/webmaster-ja\">Google\u306e\u516c\u5f0f\u30d8\u30eb\u30d7\u30d5\u30a9\u30fc\u30e9\u30e0<\/a>\u3067\u76f8\u8ac7\u3059\u308b\u3068\u3044\u3044\u3067\u3057\u3087\u3046\u3002<br \/>\n\u30ec\u30d9\u30eb\u306e\u9ad8\u3044\u30d5\u30a9\u30fc\u30e9\u30e0\u30e1\u30f3\u30d0\u30fc\u304c\u624b\u52a9\u3051\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<h2>\u30e2\u30d0\u30a4\u30eb\u30d5\u30ec\u30f3\u30c9\u30ea\u30fc\u8b66\u544a\u306e18.7%<\/h2>\n<p>CSS\u3068JavaScript\u30d5\u30a1\u30a4\u30eb\u3078Googlebot\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u3063\u305f\u30b5\u30a4\u30c8\u306f\u3001\u30e2\u30d0\u30a4\u30eb\u30e6\u30fc\u30b6\u30d3\u30ea\u30c6\u30a3\u4e0a\u306e\u554f\u984c\u3092\u691c\u51fa\u3057\u305f\u3068\u304d\u306e\u8b66\u544a\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u9001\u3063\u305f\u30b5\u30a4\u30c8\u306e\u7d0418.7%\u3060\u3068\u306e\u3053\u3068\u3067\u3059\u3002<br \/>\n\u305f\u3044\u3057\u3066\u5f79\u306b\u7acb\u3064\u60c5\u5831\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304c\u3001\u8a71\u306e\u7a2e\u306b\u3067\u3082\u3002<\/p>\n<p class=\"p60-t\">\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n<p class=\"p40-b\">\u672c\u5f53\u306b\u5fc5\u8981\u304c\u3042\u308c\u3070\u30d6\u30ed\u30c3\u30af\u3057\u3064\u3064\u3082\u3001\u5927\u5207\u306a\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u306b\u6b20\u304b\u305b\u306a\u3044\u30ea\u30bd\u30fc\u30b9\u306f\u30d6\u30ed\u30c3\u30af\u305b\u305a\u306bGooglebot\u306b\u304d\u3061\u3093\u3068\u30a2\u30af\u30bb\u30b9\u3055\u305b\u307e\u3057\u3087\u3046\u3002<br \/>\n\u9069\u5207\u306a\u8a55\u4fa1\u3092\u53d7\u3051\u308b\u305f\u3081\u306b\u91cd\u8981\u306a\u3053\u3068\u3067\u3059\u3002<\/p>\n<p><strong>\u53c2\u8003\u306b\u3057\u305fGoogle\u793e\u54e1\u306e\u767a\u8a00:<\/strong><br \/>\n<a href=\"https:\/\/goo.gl\/5FHGF2\">https:\/\/goo.gl\/5FHGF2<\/a>, <a href=\"https:\/\/goo.gl\/INEm6G\">https:\/\/goo.gl\/INEm6G<\/a>, <a href=\"https:\/\/goo.gl\/gDz8La\">https:\/\/goo.gl\/gDz8La<\/a>, <a href=\"https:\/\/goo.gl\/1QYkWE\">https:\/\/goo.gl\/1QYkWE<\/a>, <a href=\"https:\/\/goo.gl\/AQ9RqN\">https:\/\/goo.gl\/AQ9RqN<\/a>, <a href=\"https:\/\/goo.gl\/XUIXAa\">https:\/\/goo.gl\/XUIXAa<\/a>, <a href=\"https:\/\/goo.gl\/7GXhXJ\">https:\/\/goo.gl\/7GXhXJ<\/a>, <a href=\"http:\/\/goo.gl\/A6B0h3\">http:\/\/goo.gl\/A6B0h3<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CSS\u3068JavaScript\u30d5\u30a1\u30a4\u30eb\u306bGooglebot\u304c\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u30b5\u30a4\u30c8\u306b\u5bfe\u3057\u3066\u3001\u5148\u9031Google\u304c\u4e00\u6589\u306b\u8b66\u544a\u30e1\u30fc\u30eb\u3092\u9001\u4fe1\u3057\u305f\u3002\u3053\u306e\u51fa\u6765\u4e8b\u306b\u95a2\u3057\u3066\u65b0\u3057\u3044\u60c5\u5831\u304c\u5165\u3063\u3066\u304d\u305f\u308a\u8aa4\u89e3\u304c\u3042\u3063\u305f\u308a\u3059\u308b\u306e\u3067\u3001\u30d5\u30a9\u30ed\u30fc\u30a2\u30c3\u30d7\u3059\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":[1212,62,374,578],"class_list":["post-8258","post","type-post","status-publish","format-standard","category-google-seo","tag-rendering","tag-robotstxt","tag-css","tag-javascript"],"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/8258","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=8258"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/8258\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=8258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=8258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=8258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}