{"id":5189,"date":"2009-09-07T05:55:57","date_gmt":"2009-09-06T20:55:57","guid":{"rendered":"http:\/\/www.suzukikenichi.com\/blog\/?p=5189"},"modified":"2009-09-07T04:40:40","modified_gmt":"2009-09-06T19:40:40","slug":"how-to-prevent-https-pages-from-getting-indexed","status":"publish","type":"post","link":"https:\/\/www.suzukikenichi.com\/blog\/how-to-prevent-https-pages-from-getting-indexed\/","title":{"rendered":"HTTPS(SSL)\u30da\u30fc\u30b8\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u305b\u306a\u3044\u65b9\u6cd5"},"content":{"rendered":"<p>\u4f4f\u6240\u3084\u751f\u5e74\u6708\u65e5\u3001\u30af\u30ec\u30b8\u30c3\u30c8\u30ab\u30fc\u30c9\u306a\u3069\u306e\u500b\u4eba\u60c5\u5831\u3092\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u7d4c\u7531\u3067\u4f1d\u3048\u308b\u3053\u3068\u304c\u5f53\u305f\u308a\u524d\u306e\u3088\u3046\u306b\u306a\u308a\u3001\u30bb\u30ad\u30e5\u30a2\u306a\u901a\u4fe1\u306f\u307e\u3059\u307e\u3059\u91cd\u8981\u306b\u306a\u3063\u3066\u304d\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span class=\"b\">SSL\u3068\u3044\u3046\u306e\u306f<\/span>\u3001&#8221;Secure Sockets Layer&#8221;\u306e\u7565\u3067\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\uff08TCP\/IP\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff09\u3067\u3084\u308a\u3068\u308a\u3059\u308b\u60c5\u5831\u3092<span class=\"b\">\u6697\u53f7\u5316\u3057\u3066\u9001\u53d7\u4fe1<\/span>\u3059\u308b\u30d7\u30ed\u30c8\u30b3\u30eb\uff08\u901a\u4fe1\u898f\u7d04\uff09\u3067\u3059\u3002<\/p>\n<p>\u30a6\u30a7\u30d6\u30b5\u30fc\u30d0\u30fc\u3068\u30d6\u30e9\u30a6\u30b6\u306e\u901a\u4fe1\u3092SSL\u306e\u4ed5\u7d44\u307f\u3092\u4f7f\u3063\u3066\u6697\u53f7\u5316\u3059\u308b\u306e\u304c\u3001<span class=\"b\">HTTPS<\/span>\u3067\u3059\u3002<\/p>\n<p>SSL\u306f\u3001\u516c\u958b\u9375\u3084\u3089\u79d8\u5bc6\u9375\u3084\u3089\u30c7\u30b8\u30bf\u30eb\u8a3c\u660e\u66f8\u3084\u3089\u30c7\u30b8\u30bf\u30eb\u7f72\u540d\u3084\u3089\u3044\u308d\u3044\u308d\u306a\u6280\u8853\u3092\u4f7f\u3044\u3001\u7406\u89e3\u3059\u308b\u306e\u306b\u96e3\u6613\u5ea6\u304c\u9ad8\u3044\u4ed5\u7d44\u307f\u3067\u3059\u3002<\/p>\n<p>\u3068\u3044\u3063\u3066\u3082\u3001\u4eca\u65e5\u306e\u8a18\u4e8b\u306fSSL\u306e\u89e3\u8aac\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u306e\u3067\u3001\u4e2d\u8eab\u306f\u77e5\u3089\u306a\u304f\u3066\u3082\u305c\u3093\u305c\u3093OK\u3067\u3059\u3002\uff57<\/p>\n<p style=\"margin-top:60px!important;\">\u30d6\u30ed\u30b0\u8aad\u8005\u304b\u3089\u8cea\u554f\u3092\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u300cHTTPS\u30da\u30fc\u30b8\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u305b\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u306b\u306f\u3001\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u306e\u304b\uff1f\u300d\u3068\u3044\u3046\u8cea\u554f\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u65b9\u306f\u3001e\u30b3\u30de\u30fc\u30b9\u30b5\u30a4\u30c8\u3092\u904b\u7528\u3057\u3066\u3044\u3066\u3001SSL\u8a3c\u660e\u66f8\u3092\u53d6\u5f97\u3057\u8cfc\u5165\u30d7\u30ed\u30bb\u30b9\u306b\u306fHTTPS\u901a\u4fe1\u3092\u5229\u7528\u3057\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3068\u3053\u308d\u304c\u3001\u4e00\u90e8\u306e\u30da\u30fc\u30b8\u3067\u3001\u901a\u5e38\u306eHTTP\u3068\u6697\u53f7\u5316\u3057\u305fHTTPS\u306e\u4e21\u65b9\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u308c\u3066\u3057\u307e\u3044<a href=\"\/\/www.suzukikenichi.com\/blog\/review-of-duplicate-content\/\">\u91cd\u8907URL<\/a>\u3092\u5f15\u304d\u8d77\u3053\u3057\u3066\u3044\u308b\u3088\u3046\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>http:\/\/www.example.com\/shopping\/<br \/>\n\u3068\u3001<br \/>\nhttps:\/\/www.example.com\/shopping\/<br \/>\n\u306f\u3001<br \/>\n\u6697\u53f7\u5316\u3057\u3066\u3044\u308b\u304b\u3057\u3066\u3044\u306a\u3044\u304b\u3060\u3051\u306e\u9055\u3044\u3067\u3001\u8868\u793a\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u306f\u307e\u3063\u305f\u304f\u540c\u3058\u3067\u3059\u3002<\/p>\n<p>&#8220;s&#8221;\u304c\u4ed8\u304f\u304b\u4ed8\u304b\u306a\u3044\u304b\u3060\u3051\u306a\u306e\u3067\u3059\u304c\u3001\u30b5\u30fc\u30c1\u30a8\u30f3\u30b8\u30f3\u306b\u3068\u3063\u3066\u306f\u7570\u306a\u308bURL\u3067\u3042\u308a\u3001\u3057\u305f\u304c\u3063\u3066<a href=\"\/\/www.suzukikenichi.com\/blog\/review-of-duplicate-content\/\">\u91cd\u8907\u30b3\u30f3\u30c6\u30f3\u30c4\u554f\u984c<\/a>\u3092\u767a\u751f\u3055\u305b\u3066\u3057\u307e\u3046\u304b\u3082\u77e5\u308c\u307e\u305b\u3093\u3002<\/p>\n<p style=\"margin-top:60px!important;\">\u50d5\u306b\u3082\u7d4c\u9a13\u304c\u306a\u3044\u8a2d\u5b9a\u306a\u306e\u3067\u3001\u30a6\u30a7\u30d6\u3092\u691c\u7d22\u3057\u305f\u308a\u30d5\u30a9\u30fc\u30e9\u30e0\u306b\u6295\u7a3f\u3057\u305f\u308a\u3057\u3066\u89e3\u6c7a\u7b56\u3092\u63a2\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p>\uff12\u3064\u306e\u65b9\u6cd5\u304c\u898b\u3064\u304b\u3063\u305f\u306e\u3067\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<p>\u307b\u307c\u9593\u9055\u3044\u304f\u6a5f\u80fd\u3059\u308b\u8a2d\u5b9a\u306e\u306f\u305a\u3067\u3059\u304c\u3001\u3053\u3053\u304c\u304a\u304b\u3057\u3044\u3068\u304b\u3001\u3053\u3046\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3068\u3044\u3046\u306e\u3092\u3054\u5b58\u77e5\u3067\u3057\u305f\u3089\u3001\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\uff11\u3064\u3081\u306f\u3001<a href=\"\/\/www.suzukikenichi.com\/blog\/how-to-create-robotstxt\/\">robots.txt<\/a>\u3067HTTPS\u30da\u30fc\u30b8\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u307e\u305a\u3001HTTPS\u306e\u30a2\u30af\u30bb\u30b9\u306b\u5bfe\u3059\u308brobots.txt\u3092\u5225\u306b\u4f5c\u308a\u307e\u3059\u3002<\/p>\n<p>\u540d\u524d\u306f\u3001\u5206\u304b\u308a\u3084\u3059\u304f\u300crobots_ssl.txt\u300d\u306b\u3057\u3066\u304a\u304d\u307e\u3059\uff08\u4efb\u610f\u306e\u540d\u524d\u3067OK\uff09\u3002<\/p>\n<p>robots_ssl.txt\u306b\u6b21\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p><code>User-agent: *<br \/>\nDisallow: \/<\/code><\/p>\n<p>\u300c\u3059\u3079\u3066\u306e\u30ed\u30dc\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u3059\u3079\u3066\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u7981\u6b62\u3059\u308b\u300d\u3068\u3044\u3046\u547d\u4ee4\u3067\u3059\u306d\u3002<\/p>\n<p>\u6b21\u306b\u3001.hatccess\u306b\u6b21\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n<p><code>RewriteCond %{SERVER_PORT} ^443$<br \/>\nRewriteRule ^robots.txt$ robots_ssl.txt<\/code><\/p>\n<p>\u300c\u30dd\u30fc\u30c8443\u3078\u306e\u901a\u4fe1\uff08\uff1dHTTPS\uff09\u304c\u767a\u751f\u3057\u305f\u3068\u304d\u306f\u3001robots.txt\u3092robots_ssl.txt\u306b\u7f6e\u304d\u63db\u3048\u306a\u3055\u3044\u300d\u3068\u3044\u3046\u547d\u4ee4\u3067\u3059\u3002<br \/>\n\uff08\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u3067\u4f7f\u308f\u308c\u308bTCP\/IP\u3068\u3044\u3046\u901a\u4fe1\u898f\u7d04\u3067\u306f\u3001\u30dd\u30fc\u30c8\u756a\u53f7\u3068\u3044\u3063\u3066\u30b5\u30fc\u30d3\u30b9\u3054\u3068\u306b\u56fa\u6709\u306e\u756a\u53f7\u3092\u6301\u3061\u307e\u3059\u3002\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u5358\u4f4d\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u308b\u306e\u304cIP\u30a2\u30c9\u30ec\u30b9\u3067\u3059\u306d\u3002\u305d\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u4e2d\u3067\u3001HTTP\u306a\u308980\u756a\u3001HTTPS\u306a\u3089443\u756a\u3001SMTP\u306a\u308925\u756a\u3001FTP\u306a\u308921\u756a\u3068\u3044\u3046\u3088\u3046\u306b\u901a\u4fe1\u306e\u7a2e\u985e\u3054\u3068\u306b\u756a\u53f7\u304c\u6c7a\u307e\u3063\u3066\u3044\u307e\u3059\u3002\uff09<\/p>\n<p>\u4e00\u822c\u7684\u306a\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306e\u30ed\u30dc\u30c3\u30c8\u306f\u3001\u30b5\u30a4\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3057\u305f\u3068\u304d\u306b\u307e\u305a\u6700\u521d\u306b\u30eb\u30fc\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306brobots.txt\u304c\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u78ba\u8a8d\u3057\u3001\u3042\u308c\u3070\u4e2d\u8eab\u3092\u30c1\u30a7\u30c3\u30af\u3057\u307e\u3059\u3002<\/p>\n<p>\u4e0a\u306e\u8a2d\u5b9a\u3067\u306f\u3001SSL\u901a\u4fe1\u306e\u3068\u304d\u306b\u306f\u6a19\u6e96\u306erobots.txt\u3067\u306f\u306a\u304f\u3001\u72ec\u81ea\u306e\u540d\u524d\u3067\u4f5c\u6210\u3057\u305frobots_ssl.txt\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u3080\u3088\u3046\u306b\u4ed5\u8fbc\u3093\u3067\u3044\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001HTTPS\u901a\u4fe1\u306e\u3068\u304d\u306f\u3059\u3079\u3066\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u7981\u3058\u307e\u3059\u3002<\/p>\n<p>robots.txt\u3092\u4f7f\u3063\u305fHTTPS\u30da\u30fc\u30b8\u306e\u30d6\u30ed\u30c3\u30af\u65b9\u6cd5\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u3067\u63a1\u7528\u3057\u3084\u3059\u3044\u3067\u3059\u306d\u3002<\/p>\n<p>\u305f\u3060\u554f\u984c\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>robots.txt\u306e\u547d\u4ee4\u306f\u5b88\u3089\u308c\u306a\u3044\u3053\u3068\u3082\u591a\u3044\u306e\u3067\u3059\u3002<br \/>\n\u7121\u8996\u3057\u3066\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3057\u3066\u3057\u307e\u3046\u30b1\u30fc\u30b9\u304c\u5f80\u3005\u306b\u3057\u3066\u3042\u308b\u306e\u3067\u3059\u3002<br \/>\n\u3053\u308c\u306f\u3001Google\u3082Yahoo!\u3082Bing\u3082\u8a72\u5f53\u3057\u307e\u3059\u3002<\/p>\n<p>\u7d76\u5bfe\u306b\u4fe1\u7528\u3067\u304d\u308b\u3082\u306e\u3067\u306f\u306a\u3044\u3093\u3067\u3059\u306d\u3002<\/p>\n<p>\u305d\u3053\u3067\u3001\u5225\u306e\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u306f\u3001.htaccess\u306b\u6b21\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<br \/>\n<code><br \/>\nRewriteEngine on<br \/>\nRewriteBase \/<br \/>\nRewriteCond %{HTTP_USER_AGENT} ^.*googlebot.*$ [OR]<br \/>\nRewriteCond %{HTTP_USER_AGENT} ^.*slurp.*$ [OR]<br \/>\nRewriteCond %{HTTP_USER_AGENT} ^.*msnbot.*$<br \/>\nRewriteCond %{SERVER_PORT}443<br \/>\nRewriteRule ^(.*)$ http:\/\/www.domain.com\/$1 [R,L]<\/code><\/p>\n<p>\u300cgooglebot\uff08google\u306e\u30ed\u30dc\u30c3\u30c8\uff09\u3001slurp\uff08Yahoo!\u306e\u30ed\u30dc\u30c3\u30c8\uff09\u3001msnbot\uff08Bing\u306e\u30ed\u30dc\u30c3\u30c8\uff09\u304c\u3001\u30dd\u30fc\u30c8443\uff08HTTPS\uff09\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3066\u304d\u305f\u3068\u304d\u306b\u306f\u3001\u901a\u5e38\u306eHTTP\u306b\u66f8\u304d\u63db\u3048\u3066\u3057\u307e\u3046\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u3067\u3059\u3002<\/p>\n<p>\u3053\u308c\u306f\u3001\u30ed\u30dc\u30c3\u30c8\u304cHTTPS\u3067\u901a\u4fe1\u3057\u3066\u304d\u305f\u3068\u304d\u306b\u306f\u5426\u304c\u5fdc\u3067\u3082HTTP\u306b\u7f6e\u304d\u63db\u308f\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001HTTPS\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001\u4e0a\u306e\u8a18\u8ff0\u3067\u306f\u30e6\u30fc\u30b6\u30fc\u30a8\u30fc\u30b8\u30a7\u30f3\u30c8\u3067\u6307\u5b9a\u3057\u3066\u3044\u308b\u306e\u3067\u3001\uff13\u5927\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306e\u30ed\u30dc\u30c3\u30c8\u306b\u5bfe\u3057\u3066\u3060\u3051\u6709\u52b9\u3067\u3059\uff08\u3068\u306f\u3044\u3048\u3001\u4ed6\u306e\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306f\u7121\u8996\u3057\u3066\u3082\u3044\u3044\u3067\u3057\u3087\u3046\u3002\u5fc5\u8981\u3067\u3042\u308c\u3070\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\uff09\u3002<\/p>\n<p style=\"margin-top:60px!important;\">\u4eca\u65e5\u304a\u4f1d\u3048\u3057\u305f\u8a2d\u5b9a\u304c\u5f79\u306b\u7acb\u3064\u8aad\u8005\u3055\u3093\u306f\u3001\u307b\u3093\u306e\u4e00\u63e1\u308a\u3060\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u3059\u304c\u3001\u4eca\u672c\u683c\u7684\u306ae\u30b3\u30de\u30fc\u30b9\u30b5\u30a4\u30c8\u3092\u6e96\u5099\u3057\u3066\u3044\u305f\u308a\u3001\u6bd4\u8f03\u7684\u5927\u304d\u306ae\u30b3\u30de\u30fc\u30b9\u30b5\u30a4\u30c8\u306e\u30b3\u30f3\u30b5\u30eb\u30c6\u30a3\u30f3\u30b0\u3092\u8acb\u3051\u8ca0\u3046\u3053\u3068\u3082\u5897\u3048\u3066\u304d\u305d\u3046\u306a\u306e\u3067\u3001\u81ea\u5206\u81ea\u8eab\u306e\u5099\u5fd8\u9332\u3068\u3057\u3066\u30a8\u30f3\u30c8\u30ea\u3057\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6697\u53f7\u5316\u901a\u4fe1\u3067\u3042\u308bHTTPS\u3067\u30a2\u30af\u30bb\u30b9\u3057\u305f\u30da\u30fc\u30b8\u3092\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3055\u305b\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u8a2d\u5b9a\u3002\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u304c\u3001http\u3068https\u306e\u4e21\u65b9\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u91cd\u8907\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u767a\u751f\u3055\u305b\u308b\u304b\u3082\u3057\u308c\u306a\u3044\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,10,5],"tags":[308,472,703],"class_list":["post-5189","post","type-post","status-publish","format-standard","category-google-seo","category-yahoo-seo","category-msn-seo-2","tag-duplicate-contents","tag-http","tag-ssl"],"_links":{"self":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/5189","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=5189"}],"version-history":[{"count":0,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/posts\/5189\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/media?parent=5189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/categories?post=5189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.suzukikenichi.com\/blog\/wp-json\/wp\/v2\/tags?post=5189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}