{"id":88,"date":"2015-10-31T22:53:11","date_gmt":"2015-10-31T13:53:11","guid":{"rendered":"http:\/\/tako.nakano.net\/blog\/?p=88"},"modified":"2015-10-31T23:20:49","modified_gmt":"2015-10-31T14:20:49","slug":"google-xml-sitemaps-4-0-x-%e3%81%ab%e3%82%88%e3%82%8b-sitemap-xml-%e7%94%9f%e6%88%90%e3%81%ae%e5%95%8f%e9%a1%8c","status":"publish","type":"post","link":"https:\/\/tako.nakano.net\/blog\/2015\/10\/google-xml-sitemaps-4-0-x-%e3%81%ab%e3%82%88%e3%82%8b-sitemap-xml-%e7%94%9f%e6%88%90%e3%81%ae%e5%95%8f%e9%a1%8c\/","title":{"rendered":"Google XML Sitemaps 4.0.x \u306b\u3088\u308b sitemap.xml \u751f\u6210\u306e\u554f\u984c"},"content":{"rendered":"<p>Ver. 4.0 \u4ee5\u964d\u306e\u00a0<a href=\"https:\/\/ja.wordpress.org\/plugins\/google-sitemap-generator\/\" target=\"_blank\">Google XML Sitemaps<\/a> \u306e\u6319\u52d5\u3001\u4e3b\u306b\u3001sitemap.xml, robots.txt \u306b\u3064\u3044\u3066\u3001\u5c11\u3057\u307e\u3068\u3081\u3066\u304a\u304f\u3002<\/p>\n<p>Google XML Sitemaps \u306f\u81ea\u52d5\u3067 sitemap.xml \u3084 sitemap.xml.gz \u3092\u300c\u751f\u6210\u300d\u3057\u3066\u304f\u308c\u308b\u30c4\u30fc\u30eb\u3068\u3057\u3066\u3088\u304f\u5229\u7528\u3055\u308c\u3066\u3044\u305f\u3002\u5b9f\u969b\u306b sitemap.xml \u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u3001index.php \u3068\u540c\u3058\u968e\u5c64\u306b\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u751f\u6210\u3057\u3066\u304f\u308c\u3066\u3044\u305f\u3002<code><\/code><\/p>\n<p>\u3068\u3053\u308d\u304c\u3001<a href=\"http:\/\/www.arnebrachhold.de\/projects\/wordpress-plugins\/google-xml-sitemaps-generator\/changelog\/\" target=\"_blank\">Google (XML) Sitemap Generator Plugin Changelog<\/a>\u00a0\u306b\u3088\u308c\u3070\u3001<\/p>\n<blockquote><p>No static files anymore, sitemap is created on the fly!<\/p><\/blockquote>\n<p>\u3068\u306e\u3053\u3068\u3067\u3001sitemap.xml \u306f\u5fc5\u8981\u3068\u306a\u3063\u305f\u6642\u306b\u305d\u306e\u5ea6\u306b\u8a08\u7b97\u3055\u308c\u3066\u3001\u4f5c\u3089\u308c\u308b\u3088\u3046\u3067\u3042\u308b\u3002<\/p>\n<p>nginx \u3092 httpd \u306b\u4f7f\u3063\u3066\u3044\u308b\u304c\u3001\u3042\u308b\u30b5\u30a4\u30c8\u3067\u306f\u3046\u307e\u304f\u30d5\u30a1\u30a4\u30eb\u304c\u8868\u793a\u3055\u308c\u306a\u304b\u3063\u305f\u3002\u305d\u306e\u30b5\u30a4\u30c8\u3067\u306f\u3001permalink \u3092\u7528\u3044\u305a\u3001\u5b58\u5728\u3057\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u3078\u306e\u30ea\u30f3\u30af\u306f\u5168\u3066 404 \u3092\u6295\u3052\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u305f\u3002sitemap.xml \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092 index.php \u306b\u305d\u306e\u307e\u307e rewrite \u3057\u3066\u307f\u3066\u3082\u3001\u6c42\u3081\u3066\u3044\u305f\u8868\u793a\u306f\u5f97\u3089\u308c\u306a\u304b\u3063\u305f\u3002<\/p>\n<p>Apache \u3092\u5229\u7528\u3057\u3066\u3044\u308b\u3042\u308b\u30b5\u30a4\u30c8\u306f\u3001permalink \u3092\u7528\u3044\u3066\u3044\u305f\u305f\u3081\u304b\u3001\u307e\u305f\u306f\u3001.htaccess \u306b\u300c\u30d5\u30a1\u30a4\u30eb\u304c\u898b\u5f53\u305f\u3089\u306a\u3051\u308c\u3070 index.php \u306b\u51e6\u7406\u3092\u6295\u3052\u308b\u300d\u3068\u3044\u3046\u8a2d\u5b9a\u306b\u3057\u305f\u305f\u3081\u304b\u3001sitemap.xml \u3078\u306e\u30a2\u30af\u30bb\u30b9\u3067\u554f\u984c\u306a\u304f\u8868\u793a\u3055\u308c\u305f\u3002<\/p>\n<p>\u89e3\u6c7a\u65b9\u6cd5\u306f<br \/>\nGoogle (XML) Sitemap Generator Plugin Changelog\u00a0\u306e <a href=\"https:\/\/wordpress.org\/support\/plugin\/google-sitemap-generator\" target=\"_blank\">support<\/a> \u306b\u3042\u3063\u305f\u3002<br \/>\nhttps:\/\/wordpress.org\/support\/topic\/404-file-not-found-see-here<br \/>\nhttps:\/\/wordpress.org\/support\/topic\/40-is-broken-in-fpmfastcgi-servers<br \/>\n\u3092\u53c2\u8003\u306b\u3001<br \/>\n<code>rewrite ^\/sitemap(-+([a-zA-Z0-9_-]+))?\\.xml$ \"\/index.php?xml_sitemap=params=$2\" last;<br \/>\nrewrite ^\/sitemap(-+([a-zA-Z0-9_-]+))?\\.xml\\.gz$ \"\/index.php?xml_sitemap=params=$2;zip=true\" last;<br \/>\nrewrite ^\/sitemap(-+([a-zA-Z0-9_-]+))?\\.html$ \"\/index.php?xml_sitemap=params=$2;html=true\" last;<br \/>\nrewrite ^\/sitemap(-+([a-zA-Z0-9_-]+))?\\.html.gz$ \"\/index.php?xml_sitemap=params=$2;html=true;zip=true\" last;<\/code><br \/>\n\u3092 nginx \u306e\u8a2d\u5b9a\u306b\u66f8\u304d\u52a0\u3048\u305f\u3068\u3053\u308d\u3001\u3046\u307e\u304f\u52d5\u4f5c\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002nginx \u3067 rewrite \u3059\u308b\u3068\u304d\u306b\u00a0index.php?xml_sitemap=params=\uff5e \u3092\u5229\u7528\u3059\u308c\u3070\u826f\u3044\u3088\u3046\u3067\u3042\u3063\u305f\u3002<\/p>\n<p>\u307e\u305f\u3001robots.txt \u306b\u3064\u3044\u3066\u306f\u3001<\/p>\n<blockquote><p>The sitemap is generated by WordPress, so make sure there is no robots.txt file saved in your blog directory!<\/p><\/blockquote>\n<p>\u3068\u3042\u308b\u2026robots.txt \u3092\u305d\u306e\u307e\u307e index.php \u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3084\u3001rewrite \u3057\u3066\u3082\u3060\u3081\u3067\u3042\u308b\u3002\u56f0\u3063\u305f\u3082\u306e\u3060\u3002<code>rewrite ^\/robots\\.txt$ \"\/index.php?robots=1\" last;<\/code>\u3068\u3057\u3066\u304a\u3051\u3070\u3088\u3044\u3088\u3046\u3060\u3002<\/p>\n<p>\u53c2\u8003\u306b\u3057\u3066\u307b\u3057\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ver. 4.0 \u4ee5\u964d\u306e\u00a0Google XML Sitemaps \u306e\u6319\u52d5\u3001\u4e3b\u306b\u3001sitemap.xml, robots.txt \u306b\u3064\u3044\u3066\u3001\u5c11\u3057\u307e\u3068\u3081\u3066\u304a\u304f\u3002 Google XML Sitemaps \u306f\u81ea\u52d5\u3067 sitema [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[],"class_list":["post-88","post","type-post","status-publish","format-standard","hentry","category-misc"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4dIdP-1q","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/posts\/88","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/comments?post=88"}],"version-history":[{"count":3,"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions"}],"predecessor-version":[{"id":91,"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/posts\/88\/revisions\/91"}],"wp:attachment":[{"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/media?parent=88"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/categories?post=88"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tako.nakano.net\/blog\/wp-json\/wp\/v2\/tags?post=88"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}