{"id":2699,"date":"2025-08-17T20:38:47","date_gmt":"2025-08-17T13:38:47","guid":{"rendered":"https:\/\/siammakemoney.com\/?p=2699"},"modified":"2025-08-19T21:26:23","modified_gmt":"2025-08-19T14:26:23","slug":"sitemap-xml","status":"publish","type":"post","link":"https:\/\/siammakemoney.com\/ja\/sitemap-xml\/","title":{"rendered":"\u72ec\u81ea\u306e\u30b3\u30fc\u30c9\u3067 sitemap.xml \u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\uff08\u30b5\u30a4\u30c8\u30de\u30c3\u30d7 \u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \u30d5\u30a1\u30a4\u30eb\uff09"},"content":{"rendered":"<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-c8cdb34af6fd810e65dbedd894bbe172\" style=\"color:#336864;font-size:28px\">\u30b7\u30f3\u30d7\u30eb\u3067\u57fa\u672c\u7684\u306a\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306esitemap.xml\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\n\n\n<p>Python\u30b3\u30fc\u30c9\u3067sitemap.xml\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u304c\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u8a8d\u8b58\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002.html\u30d5\u30a1\u30a4\u30eb\u3068.php\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u305f\u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u4f8b\u3068\u3001\u305d\u306e\u4f7f\u7528\u65b9\u6cd5\u3001\u305d\u3057\u3066Search Console\u307e\u305f\u306fping URL\u7d4c\u7531\u3067Google\u3068Bing\u306b\u9001\u4fe1\u3059\u308b\u624b\u9806\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3068\u306f\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u4e0a\u306e\u91cd\u8981\u306a\u30da\u30fc\u30b8\u306eURL\u3092\u307e\u3068\u3081\u305f\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u304c\u30da\u30fc\u30b8\u3092\u7406\u89e3\u3057\u3001\u30ca\u30d3\u30b2\u30fc\u30c8\u3057\u3084\u3059\u304f\u3059\u308b\u3053\u3068\u3067\u3001SEO\u5bfe\u7b56\u3084\u30c8\u30e9\u30d5\u30a3\u30c3\u30af\u5897\u52a0\u306b\u52b9\u679c\u7684\u3067\u3059\u3002\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3092\u4f5c\u6210\u3057\u3066Google\u306b\u9001\u4fe1\u3059\u308b\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n<style scoped>\n            .gc-box{margin-bottom:30px;padding:20px;border-left:5px solid transparent;line-height:24px}.gc-box .label-info{background-color:#5bc0de;display:inline-block;margin:0 5px 10px 0;padding:3px 6px;font-size:75%;font-weight:700;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em;line-height:14px}.gc-box.green_type{color:#3c763d;background-color:#dff0d8;border-color:#cae6be}.gc-box.blue_type{color:#31708f;background-color:#d9edf7;border-color:#bcdff1}.gc-box.red_type{color:#a94442;background-color:#f2dede;border-color:#e8c4c4}.gc-box.grey_type{background:#ddd;border-color:#ccc;color:#444}.gc-box.info_type{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.gc-box.info_type svg{fill:#30a030}.gc-box.download_type{color:#004085;background-color:#cce5ff;border-color:#b8daff}.gc-box.download_type svg{fill:#3a9aff}.gc-box.update_type{color:#004458;background-color:#d9edf7;border:1px solid #bce8f1}.gc-box.notice_type{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.gc-box.notice_type svg{fill:#f7a000}.gc-box.error_type{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}.gc-box.error_type svg{fill:#c70000}.gc-box.border_type{border:2px solid #ddd}.gc-box.icon_type{display:flex}.gc-box.icon_type .gc-box-icon{width:28px}.gc-box.icon_type .gc-box-text{flex-grow:1;margin:0 15px}.gc-box-text > *{margin-bottom: 20px;}\n        .gc-box-text > *:last-child{margin-bottom:0}        \n        <\/style><div class=\"gc-box border_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-51055fbf0388df6c69b33d911bf8dd7c\" style=\"color:#1a8079;font-size:30px\">1. \u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3068\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306b\u3064\u3044\u3066<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7<\/strong>: Google \u306a\u3069\u306e\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u3001\u5f53\u793e\u306e Web \u30b5\u30a4\u30c8\u306b\u3042\u308b\u30da\u30fc\u30b8\u3092\u901a\u77e5\u3059\u308b XML \u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/li>\n\n\n\n<li><strong>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u30a4\u30f3\u30c7\u30c3\u30af\u30b9<\/strong>: \u8907\u6570\u306e\u30b5\u30d6\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3092\u7d50\u5408\u3057\u305f XML \u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308a\u3001\u5927\u898f\u6a21\u306a Web \u30b5\u30a4\u30c8\u306e\u7ba1\u7406\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n<\/div>\n\t\t<\/div>\n\n<div class=\"gc-box border_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-4ed54ffd6bbffb7b553baccf8f8027dd\" style=\"color:#1a8079;font-size:33px\">2. \u6a19\u6e96\u69cb\u9020 <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code><\/h2>\n\n\n\n<pre class=\"wp-block-code has-layout-color has-primary-background-color has-text-color has-background has-link-color wp-elements-e40b4577af5bec78e62226967e473053\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n&lt;urlset xmlns=\"http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\"&gt;\n   &lt;url&gt;\n      &lt;loc&gt;https:\/\/yourdomain.com\/&lt;\/loc&gt;\n      &lt;lastmod&gt;2025-08-17&lt;\/lastmod&gt;\n      &lt;changefreq&gt;weekly&lt;\/changefreq&gt;\n      &lt;priority&gt;1.0&lt;\/priority&gt;\n   &lt;\/url&gt;\n   &lt;url&gt;\n      &lt;loc&gt;https:\/\/yourdomain.com\/about&lt;\/loc&gt;\n      &lt;lastmod&gt;2025-08-10&lt;\/lastmod&gt;\n      &lt;changefreq&gt;monthly&lt;\/changefreq&gt;\n      &lt;priority&gt;0.8&lt;\/priority&gt;\n   &lt;\/url&gt;\n&lt;\/urlset&gt;\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>&lt;loc&gt;<\/code> = \u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u306eURL<\/li>\n\n\n\n<li><code>&lt;lastmod&gt;<\/code> = \u6700\u7d42\u66f4\u65b0\u65e5\uff08\u5f62\u5f0f <code>\u5e74-\u6708-\u65e5<\/code>)<\/li>\n\n\n\n<li><code>&lt;changefreq&gt;<\/code> = \u4e88\u60f3\u3055\u308c\u308b\u66f4\u65b0\u983b\u5ea6\uff08<code>\u5e38\u306b\u3001\u6bce\u6642\u3001\u6bce\u65e5\u3001\u6bce\u9031\u3001\u6bce\u6708\u3001\u6bce\u5e74\u3001\u6c7a\u3057\u3066<\/code>)<\/li>\n\n\n\n<li><code>&lt;priority&gt;<\/code> = \u91cd\u8981\u5ea6\u5024\uff080.0 \u2013 1.0\uff09<\/li>\n<\/ul>\n\n<\/div>\n\t\t<\/div>\n\n<div class=\"gc-box border_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-81fe5f9902deff5bc85eca39e6c34165\" style=\"color:#1a8079;font-size:28px\">3. \u4f5c\u6210\u306e\u305f\u3081\u306ePython\u30b3\u30fc\u30c9\u4f8b <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code><\/h2>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306f URL \u306e\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u53d6\u308a\u3001sitemap.xml \u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-layout-color has-primary-background-color has-text-color has-background has-link-color wp-elements-9bb92c555b4aef21e53d696222667d1a\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>import datetime\n\n\ndomain = \"https:\/\/yourdomain.com\"\npages = &#91;\n    \"\/\", \n    \"\/about\", \n    \"\/contact\", \n    \"\/products\", \n    \"\/blog\"\n]\n\ntoday = datetime.date.today().isoformat()\n\nsitemap_path = \"sitemap.xml\"\n\nwith open(sitemap_path, \"w\", encoding=\"utf-8\") as f:\n    f.write('&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\\n')\n    f.write('&lt;urlset xmlns=\"http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\"&gt;\\n')\n\n    for page in pages:\n        f.write(\"  &lt;url&gt;\\n\")\n        f.write(f\"    &lt;loc&gt;{domain}{page}&lt;\/loc&gt;\\n\")\n        f.write(f\"    &lt;lastmod&gt;{today}&lt;\/lastmod&gt;\\n\")\n        f.write(\"    &lt;changefreq&gt;weekly&lt;\/changefreq&gt;\\n\")\n        f.write(\"    &lt;priority&gt;0.8&lt;\/priority&gt;\\n\")\n        f.write(\"  &lt;\/url&gt;\\n\")\n\n    f.write(\"&lt;\/urlset&gt;\\n\")\n\n\nprint(\"Sitemap index created successfully!\")\n\n<\/code><\/pre>\n\n<\/div>\n\t\t<\/div>\n\n<div class=\"gc-box border_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-81126ab25a02d9f88c68df1cc553be65\" style=\"color:#1a8079;font-size:30px\">4. \u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-bbc613cd338dc0905678b7a178f71d37\" style=\"color:#e46618;font-size:25px\">4.1 \uff08\u30d7\u30ec\u30fc\u30f3\u306a.HTML\u30d5\u30a1\u30a4\u30eb\uff09\u9759\u7684\u30da\u30fc\u30b8\u306e\u5834\u5408<\/h3>\n\n\n\n<p>\u3042\u306a\u305f\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304c <strong>\u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\uff08\u30d7\u30ec\u30fc\u30f3HTML\uff09<\/strong> \u305d\u3057\u3066\u3001\u6b21\u306e\u3088\u3046\u306a\u30da\u30fc\u30b8\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#faf2e5\" data-no-translation=\"\" data-no-auto-translation=\"\"><code><strong><em>\/index.html  \n\/about.html  \n\/contact.html  \n\/blog.html  \n\/products\/product1.html  \n\/products\/product2.html<\/em><\/strong><\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">\u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e Python \u30b3\u30fc\u30c9\u30b5\u30f3\u30d7\u30eb<\/h5>\n\n\n\n<pre class=\"wp-block-code has-layout-color has-primary-background-color has-text-color has-background has-link-color wp-elements-74cd5f3769c73228722652c73bcd71b7\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>import os, datetime\n\n\ndomain = \"https:\/\/yourdomain.com\"\nweb_dir = \".\/public_html\"  \ntoday = datetime.date.today().isoformat()\n\nurls = &#91;]\n\n\nfor root, dirs, files in os.walk(web_dir):\n    for file in files:\n        if file.endswith(\".html\"):\n            rel_path = os.path.relpath(os.path.join(root, file), web_dir)\n            url = \"\/\" + rel_path.replace(\"\\\\\", \"\/\")\n            if url.endswith(\"index.html\"):\n                url = url.replace(\"index.html\", \"\") \n            urls.append(url)\n\n\nsitemap_path = os.path.join(web_dir, \"sitemap.xml\")\nwith open(sitemap_path, \"w\", encoding=\"utf-8\") as f:\n    f.write('&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\\n')\n    f.write('&lt;urlset xmlns=\"http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\"&gt;\\n')\n    for url in urls:\n        f.write(\"  &lt;url&gt;\\n\")\n        f.write(f\"    &lt;loc&gt;{domain}{url}&lt;\/loc&gt;\\n\")\n        f.write(f\"    &lt;lastmod&gt;{today}&lt;\/lastmod&gt;\\n\")\n        f.write(\"    &lt;changefreq&gt;monthly&lt;\/changefreq&gt;\\n\")\n        f.write(\"    &lt;priority&gt;0.5&lt;\/priority&gt;\\n\")\n        f.write(\"  &lt;\/url&gt;\\n\")\n    f.write(\"&lt;\/urlset&gt;\\n\")\n\nprint(\"Sitemap index created successfully!\")<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u306f\u3001Web \u30d5\u30a9\u30eb\u30c0\u30fc\u5185\u306e\u3059\u3079\u3066\u306e .html \u30d5\u30a1\u30a4\u30eb\u3092\u30b9\u30ad\u30e3\u30f3\u3057\u3001sitemap.xml \u3092\u81ea\u52d5\u7684\u306b\u66f8\u304d\u8fbc\u307f\u307e\u3059\u3002<\/p>\n\n\n<div class=\"gc-box notice_type icon_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><svg x=\"0px\" y=\"0px\" viewbox=\"0 0 486.463 486.463\" > <g> <g> <path d=\"M243.225,333.382c-13.6,0-25,11.4-25,25s11.4,25,25,25c13.1,0,25-11.4,24.4-24.4 C268.225,344.682,256.925,333.382,243.225,333.382z\"\/> <path d=\"M474.625,421.982c15.7-27.1,15.8-59.4,0.2-86.4l-156.6-271.2c-15.5-27.3-43.5-43.5-74.9-43.5s-59.4,16.3-74.9,43.4 l-156.8,271.5c-15.6,27.3-15.5,59.8,0.3,86.9c15.6,26.8,43.5,42.9,74.7,42.9h312.8 C430.725,465.582,458.825,449.282,474.625,421.982z M440.625,402.382c-8.7,15-24.1,23.9-41.3,23.9h-312.8 c-17,0-32.3-8.7-40.8-23.4c-8.6-14.9-8.7-32.7-0.1-47.7l156.8-271.4c8.5-14.9,23.7-23.7,40.9-23.7c17.1,0,32.4,8.9,40.9,23.8 l156.7,271.4C449.325,369.882,449.225,387.482,440.625,402.382z\"\/> <path d=\"M237.025,157.882c-11.9,3.4-19.3,14.2-19.3,27.3c0.6,7.9,1.1,15.9,1.7,23.8c1.7,30.1,3.4,59.6,5.1,89.7 c0.6,10.2,8.5,17.6,18.7,17.6c10.2,0,18.2-7.9,18.7-18.2c0-6.2,0-11.9,0.6-18.2c1.1-19.3,2.3-38.6,3.4-57.9 c0.6-12.5,1.7-25,2.3-37.5c0-4.5-0.6-8.5-2.3-12.5C260.825,160.782,248.925,155.082,237.025,157.882z\"\/> <\/g> <\/g> <\/svg><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h4 class=\"wp-block-heading\">\ud83d\udd39 \u4f7f\u7528\u65b9\u6cd5<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 \u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u914d\u7f6e\u3057\u307e\u3059 (\u4f8b: <code>generate_sitemap.py<\/code>)<\/li>\n\n\n\n<li>\u4e00\u7dd2\u306b\u8d70\u308b <code>python generate_sitemap.py<\/code><\/li>\n\n\n\n<li>\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u624b\u3067\u304d\u307e\u3059 <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code> \u30eb\u30fc\u30c8\u306b\u4f4d\u7f6e\u3059\u308b\uff08<code>\u30d1\u30d6\u30ea\u30c3\u30afHTML\/\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code>)<\/li>\n\n\n\n<li>\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u304f\u2192 <code>https:\/\/yourdomain.com\/sitemap.xml<\/code><\/li>\n\n\n\n<li>Google \u3068 Bing \u306b\u9001\u4fe1\u3059\u308b\uff08Search Console \u307e\u305f\u306f ping URL \u3092\u4f7f\u7528\uff09<\/li>\n<\/ol>\n\n<\/div>\n\t\t<\/div>\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-23fac1582b461e9e8f892b351313494b\" style=\"color:#e46618;font-size:25px\">4.2 .php\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3059\u308b\u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\uff08\u9759\u7684\u30da\u30fc\u30b8\uff09\u306e\u5834\u5408<\/h3>\n\n\n\n<p>\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304c .php \u30d5\u30a1\u30a4\u30eb (index.php\u3001about.php\u3001contact.php \u306a\u3069) \u3092\u4f7f\u7528\u3059\u308b\u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3067\u3042\u308b\u5834\u5408\u3001sitemap.xml \u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306f .html \u306e\u5834\u5408\u3068\u4f3c\u3066\u3044\u307e\u3059\u304c\u3001\u4ee3\u308f\u308a\u306b .php \u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u5f97\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#faf2e5\" data-no-translation=\"\" data-no-auto-translation=\"\"><code><strong><em>\/index.php\n\/about.php\n\/contact.php\n\/blog.php\n\/products\/product1.php\n\/products\/product2.php<\/em><\/strong><\/code><\/pre>\n\n\n\n<h5 class=\"wp-block-heading\">\u4f5c\u6210\u7528\u306ePython\u30b3\u30fc\u30c9 <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code> \u30d5\u30a1\u30a4\u30eb\u304b\u3089 <code>.php<\/code><\/h5>\n\n\n\n<pre class=\"wp-block-code has-layout-color has-primary-background-color has-text-color has-background has-link-color wp-elements-74b54ea1680cc10c12d5aa3f118addb8\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>import os, datetime\n\n\ndomain = \"https:\/\/yourdomain.com\"\nweb_dir = \".\/public_html\" \ntoday = datetime.date.today().isoformat()\n\nurls = &#91;]\n\n\nfor root, dirs, files in os.walk(web_dir):\n    for file in files:\n        if file.endswith(\".php\"):\n            rel_path = os.path.relpath(os.path.join(root, file), web_dir)\n            url = \"\/\" + rel_path.replace(\"\\\\\", \"\/\")\n            if url.endswith(\"index.php\"):\n                url = url.replace(\"index.php\", \"\")\n            urls.append(url)\n\n\nsitemap_path = os.path.join(web_dir, \"sitemap.xml\")\nwith open(sitemap_path, \"w\", encoding=\"utf-8\") as f:\n    f.write('&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\\n')\n    f.write('&lt;urlset xmlns=\"http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\"&gt;\\n')\n    for url in urls:\n        f.write(\"  &lt;url&gt;\\n\")\n        f.write(f\"    &lt;loc&gt;{domain}{url}&lt;\/loc&gt;\\n\")\n        f.write(f\"    &lt;lastmod&gt;{today}&lt;\/lastmod&gt;\\n\")\n        f.write(\"    &lt;changefreq&gt;monthly&lt;\/changefreq&gt;\\n\")\n        f.write(\"    &lt;priority&gt;0.5&lt;\/priority&gt;\\n\")\n        f.write(\"  &lt;\/url&gt;\\n\")\n    f.write(\"&lt;\/urlset&gt;\\n\")\n\nprint(\"Sitemap index created successfully!\")<\/code><\/pre>\n\n\n<div class=\"gc-box notice_type icon_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><svg x=\"0px\" y=\"0px\" viewbox=\"0 0 486.463 486.463\" > <g> <g> <path d=\"M243.225,333.382c-13.6,0-25,11.4-25,25s11.4,25,25,25c13.1,0,25-11.4,24.4-24.4 C268.225,344.682,256.925,333.382,243.225,333.382z\"\/> <path d=\"M474.625,421.982c15.7-27.1,15.8-59.4,0.2-86.4l-156.6-271.2c-15.5-27.3-43.5-43.5-74.9-43.5s-59.4,16.3-74.9,43.4 l-156.8,271.5c-15.6,27.3-15.5,59.8,0.3,86.9c15.6,26.8,43.5,42.9,74.7,42.9h312.8 C430.725,465.582,458.825,449.282,474.625,421.982z M440.625,402.382c-8.7,15-24.1,23.9-41.3,23.9h-312.8 c-17,0-32.3-8.7-40.8-23.4c-8.6-14.9-8.7-32.7-0.1-47.7l156.8-271.4c8.5-14.9,23.7-23.7,40.9-23.7c17.1,0,32.4,8.9,40.9,23.8 l156.7,271.4C449.325,369.882,449.225,387.482,440.625,402.382z\"\/> <path d=\"M237.025,157.882c-11.9,3.4-19.3,14.2-19.3,27.3c0.6,7.9,1.1,15.9,1.7,23.8c1.7,30.1,3.4,59.6,5.1,89.7 c0.6,10.2,8.5,17.6,18.7,17.6c10.2,0,18.2-7.9,18.7-18.2c0-6.2,0-11.9,0.6-18.2c1.1-19.3,2.3-38.6,3.4-57.9 c0.6-12.5,1.7-25,2.3-37.5c0-4.5-0.6-8.5-2.3-12.5C260.825,160.782,248.925,155.082,237.025,157.882z\"\/> <\/g> <\/g> <\/svg><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h4 class=\"wp-block-heading\">\ud83d\udd39 \u4f7f\u7528\u65b9\u6cd5<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8 \u30d5\u30a1\u30a4\u30eb\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8 \u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u914d\u7f6e\u3057\u307e\u3059 (\u4f8b: <code>generate_sitemap.py<\/code>)<\/li>\n\n\n\n<li>\u4e00\u7dd2\u306b\u8d70\u308b <code>python generate_sitemap.py<\/code><\/li>\n\n\n\n<li>\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u624b\u3067\u304d\u307e\u3059 <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code> \u30eb\u30fc\u30c8\u306b\u4f4d\u7f6e\u3059\u308b\uff08<code>\u30d1\u30d6\u30ea\u30c3\u30afHTML\/\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code>)<\/li>\n\n\n\n<li>\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u3044\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u2192 <code>https:\/\/<code>yourdomain<\/code>.com\/\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code><\/li>\n\n\n\n<li>\u53d6\u308a\u9664\u3044\u3066\u304f\u3060\u3055\u3044 <strong>Google Search Console \/ Bing Webmaster\u306b\u9001\u4fe1\u3059\u308b<\/strong><\/li>\n<\/ol>\n\n<\/div>\n\t\t<\/div>\n<\/div>\n\t\t<\/div>\n\n<div class=\"gc-box border_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-1d0e923835c66ddc8b439676f1ae128f\" style=\"color:#1a8079;font-size:30px\">5. sitemap.xml\u3092\u4f5c\u6210\u3059\u308b <strong>\u5171\u6709\u30db\u30b9\u30c6\u30a3\u30f3\u30b0<\/strong><\/h2>\n\n\n\n<p>\u5171\u6709\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u4f7f\u7528\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u5171\u6709\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u4e0a\u3067 Python \u30d5\u30a1\u30a4\u30eb\u3092\u76f4\u63a5\u5b9f\u884c\u3067\u304d\u306a\u3044\u3068\u3044\u3046\u5236\u9650\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-6fb5bfe6424542ff38b624517cb57c7c\" style=\"color:#e46618;font-size:27px\">\u3057\u305f\u304c\u3063\u3066\u3001sitemap.xml \u3092\u81ea\u52d5\u7684\u306b\u751f\u6210\u3059\u308b\u306b\u306f 2 \u3064\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002<\/h3>\n\n\n<div class=\"gc-box border_type\" style=\"text-align:left;border-radius:0px;\">\n\t\t\t<div class=\"gc-box-icon\"><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h4 class=\"wp-block-heading has-text-color has-link-color wp-elements-2c8640e04290cf046f65eb1aea749dff\" style=\"color:#922dae;font-size:20px\">\ud83d\udd39 \u30aa\u30d7\u30b7\u30e7\u30f3 1 (\u6700\u3082\u7c21\u5358) \u2014 \u30ed\u30fc\u30ab\u30eb \u30de\u30b7\u30f3\u3092\u4f7f\u7528\u3057\u3066\u4f5c\u6210\u304a\u3088\u3073\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/h4>\n\n\n\n<p><strong>\u30de\u30b7\u30f3\u306bPython\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/strong> \uff08Windows\/Mac\uff09<\/p>\n\n\n\n<p>Python\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u751f\u6210\u3055\u308c\u307e\u3059 <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code><\/p>\n\n\n\n<p>\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8 (Windows) \u307e\u305f\u306f\u30bf\u30fc\u30df\u30ca\u30eb (Mac\/Linux) \u3092\u958b\u304d\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-orange-background-color has-text-color has-background has-link-color wp-elements-22700d9d69990481ae4f3467d652115e\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>python generate_sitemap.py<\/code><\/pre>\n\n\n\n<p>\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9 <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code> \u3078\u79fb\u52d5 <code>\u30d1\u30d6\u30ea\u30c3\u30afHTML\/<\/code> \u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u3092\u901a\u3058\u3066 <strong>\u30d5\u30a1\u30a4\u30eb\u30de\u30cd\u30fc\u30b8\u30e3\u30fc \/ FTP<\/strong><\/p>\n\n\n\n<p>\u30d6\u30e9\u30a6\u30b6\u3078\u79fb\u52d5 \u2192<\/p>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-orange-background-color has-text-color has-background has-link-color wp-elements-4c40ab6e95de4767b35e8fb6aea06158\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>https:&#47;&#47;yourdomain.com\/sitemap.xml<\/code><\/pre>\n\n<\/div>\n\t\t<\/div>\n\n<div class=\"gc-box border_type\" style=\"text-align:left;border-radius:0px;\">\n\t\t\t<div class=\"gc-box-icon\"><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h4 class=\"wp-block-heading has-text-color has-link-color wp-elements-c60cce5e7233d756e1a3bfa2ac3acf73\" style=\"color:#922dae;font-size:20px\">\ud83d\udd39 \u30aa\u30d7\u30b7\u30e7\u30f3 2 \u2014 PHP \u3092\u4f7f\u7528\u3057\u3066\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u4e0a\u306b\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/h4>\n\n\n\n<p>Python \u3092\u30ed\u30fc\u30ab\u30eb\u3067\u5b9f\u884c\u3057\u305f\u304f\u306a\u3044\u5834\u5408\u306f\u3001PHP \u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3066 sitemap.xml \u3092\u81ea\u52d5\u7684\u306b\u751f\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-layout-color has-primary-background-color has-text-color has-background has-link-color wp-elements-cc889b7e760069b369c38ad22f15fc95\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>&lt;?php\n$domain = \"https:\/\/yourdomain.com\";\n$web_dir = __DIR__; \/\/ public_html\n$files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($web_dir));\n$urls = &#91;];\n\nforeach ($files as $file) {\n    if ($file-&gt;isFile() &amp;&amp; pathinfo($file, PATHINFO_EXTENSION) === \"php\") {\n        $path = str_replace($web_dir, \"\", $file-&gt;getPathname());\n        $url = str_replace(\"\\\\\", \"\/\", $path);\n        if (basename($url) === \"index.php\") {\n            $url = str_replace(\"index.php\", \"\", $url);\n        }\n        $urls&#91;] = $url;\n    }\n}\n\n$today = date(\"Y-m-d\");\n$sitemap = '&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;' . \"\\n\";\n$sitemap .= '&lt;urlset xmlns=\"http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\"&gt;' . \"\\n\";\n\nforeach ($urls as $url) {\n    $sitemap .= \"  &lt;url&gt;\\n\";\n    $sitemap .= \"    &lt;loc&gt;{$domain}{$url}&lt;\/loc&gt;\\n\";\n    $sitemap .= \"    &lt;lastmod&gt;{$today}&lt;\/lastmod&gt;\\n\";\n    $sitemap .= \"    &lt;changefreq&gt;monthly&lt;\/changefreq&gt;\\n\";\n    $sitemap .= \"    &lt;priority&gt;0.5&lt;\/priority&gt;\\n\";\n    $sitemap .= \"  &lt;\/url&gt;\\n\";\n}\n\n$sitemap .= \"&lt;\/urlset&gt;\";\n\nfile_put_contents($web_dir . \"\/sitemap.xml\", $sitemap);\n\necho \"\u2705 Sitemap created at {$domain}\/sitemap.xml\";\n?&gt;\n<\/code><\/pre>\n\n\n\n<h6 class=\"wp-block-heading\">\ud83d\udd39 \u4f7f\u7528\u65b9\u6cd5<\/h6>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30d5\u30a1\u30a4\u30eb\u3068\u3057\u3066\u4fdd\u5b58 <code>generate_sitemap.php<\/code><\/li>\n\n\n\n<li>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5148 <code>\u30d1\u30d6\u30ea\u30c3\u30afHTML\/<\/code><\/li>\n\n\n\n<li>\u6b21\u306e\u3088\u3046\u306a\u30d5\u30a1\u30a4\u30eb\u3092 Web \u7d4c\u7531\u3067\u547c\u3073\u51fa\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-orange-background-color has-background\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>https:&#47;&#47;yourdomain.com\/generate_sitemap.php<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30d5\u30a1\u30a4\u30eb\u3092\u5165\u624b\u3067\u304d\u307e\u3059 <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code> \u3059\u3050\u306b\u30eb\u30fc\u30c8<\/li>\n<\/ul>\n\n<\/div>\n\t\t<\/div>\n<\/div>\n\t\t<\/div>\n\n<div class=\"gc-box border_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<h2 class=\"wp-block-heading has-text-color has-link-color wp-elements-f241334b63c73b813a8ec88f8f54ab0a\" style=\"color:#1a8079;font-size:33px\">6. \u81ea\u52d5\u7684\u306b\u66f4\u65b0\u3055\u308c\u308b\u65b0\u3057\u3044 sitemap.xml \u30da\u30fc\u30b8\u304c\u3042\u308a\u307e\u3059\u3002<\/h2>\n\n\n\n<p>\u4e0e\u3048\u305f\u3044 <strong>\u65b0\u3057\u3044\u30da\u30fc\u30b8\u304c\u8ffd\u52a0\u3055\u308c\u305f\u3068\u304d\uff08.php\uff09<\/strong> \u2192 <code>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7.xml<\/code> \u81ea\u52d5\u7684\u306b\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002Python \u3092\u76f4\u63a5\u5b9f\u884c\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u306a\u3044\u305f\u3081\u3001PHP \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066 public_html \u5185\u306e .php \u30d5\u30a1\u30a4\u30eb\u3092\u6bce\u56de\u30c1\u30a7\u30c3\u30af\u3057\u3001\u65b0\u3057\u3044 sitemap.xml \u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-fdae2986c5d64973b5dbb69f9e471117\" style=\"color:#e46618;font-size:25px\">PHP \u30b3\u30fc\u30c9: \u5b9f\u884c\u3059\u308b\u305f\u3073\u306b\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b<\/h3>\n\n\n\n<pre class=\"wp-block-code has-layout-color has-primary-background-color has-text-color has-background has-link-color wp-elements-eb766c9d57cc70511bd3982919b13d59\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>&lt;?php\n\n$domain = \"https:\/\/yourdomain.com\";\n$web_dir = __DIR__; \/\/ public_html\n$today = date(\"Y-m-d\");\n\n$files = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($web_dir));\n$urls = &#91;];\n\nforeach ($files as $file) {\n    if ($file-&gt;isFile() &amp;&amp; pathinfo($file, PATHINFO_EXTENSION) === \"php\") {\n        $path = str_replace($web_dir, \"\", $file-&gt;getPathname());\n        $url = str_replace(\"\\\\\", \"\/\", $path);\n\n        if (basename($url) === \"index.php\") {\n            $url = str_replace(\"index.php\", \"\", $url);\n        }\n\n        $urls&#91;] = $url;\n    }\n}\n\n\/\/  sitemap.xml\n$sitemap = '&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;' . \"\\n\";\n$sitemap .= '&lt;urlset xmlns=\"http:\/\/www.sitemaps.org\/schemas\/sitemap\/0.9\"&gt;' . \"\\n\";\n\nforeach ($urls as $url) {\n    $sitemap .= \"  &lt;url&gt;\\n\";\n    $sitemap .= \"    &lt;loc&gt;{$domain}{$url}&lt;\/loc&gt;\\n\";\n    $sitemap .= \"    &lt;lastmod&gt;{$today}&lt;\/lastmod&gt;\\n\";\n    $sitemap .= \"    &lt;changefreq&gt;monthly&lt;\/changefreq&gt;\\n\";\n    $sitemap .= \"    &lt;priority&gt;0.5&lt;\/priority&gt;\\n\";\n    $sitemap .= \"  &lt;\/url&gt;\\n\";\n}\n\n$sitemap .= \"&lt;\/urlset&gt;\";\n\nfile_put_contents($web_dir . \"\/sitemap.xml\", $sitemap);\n\necho \"\u2705 Sitemap updated at {$domain}\/sitemap.xml\";\n?&gt;\n<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">\ud83d\udd39 \u4f7f\u3044\u65b9<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>generate_sitemap.php \u30d5\u30a1\u30a4\u30eb\u3092 public_html \u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u30d6\u30e9\u30a6\u30b6\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u547c\u3073\u51fa\u3057\u307e\u3059:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-orange-background-color has-text-color has-background has-link-color wp-elements-ec72b115d2d962a048550e6f74b47b85\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>https:&#47;&#47;yourdomain.com\/generate_sitemap.php<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u2192 sitemap.xml \u306f\u6bce\u56de\u518d\u751f\u6210\uff08\u307e\u305f\u306f\u66f4\u65b0\uff09\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u65b0\u3057\u3044 .php \u30d5\u30a1\u30a4\u30eb\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408 \u2192 \u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u518d\u5ea6\u5b9f\u884c\u3059\u308b\u3068\u3001\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u304c\u66f4\u65b0\u3055\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\"\/>\n\n\n\n<h4 class=\"wp-block-heading\">\ud83d\udd39\u5b8c\u5168\u306b\u81ea\u52d5\u5316\u3059\u308b\uff08Cron\u30b8\u30e7\u30d6\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u3001\u81ea\u5206\u3067\u62bc\u3059\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\uff09<\/h4>\n\n\n\n<p>\u305f\u3068\u3048\u3070\u3001Hosting \u306e Cron \u30b8\u30e7\u30d6\u3092\u4f7f\u7528\u3057\u3066\u3001generate_sitemap.php \u3092\u6bce\u65e5\/\u6bce\u9031\u5b9f\u884c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30db\u30b9\u30c6\u30a3\u30f3\u30b0hPanel\u306e\u5834\u5408:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u3078\u79fb\u52d5 <strong>\u4e0a\u7d1a \u2192 Cron\u30b8\u30e7\u30d6<\/strong><\/li>\n\n\n\n<li>\u6b21\u306e\u3088\u3046\u306a Cron \u30b8\u30e7\u30d6\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002 <code>php \/home\/\u30e6\u30fc\u30b6\u30fc\u540d\/public_html\/generate_sitemap.php<\/code> <\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code has-primary-color has-text-color has-background has-link-color wp-elements-9fba2ebe1fe4129b94a707cbf2e9fc67\" style=\"background-color:#c8e5ea\" data-no-translation=\"\" data-no-auto-translation=\"\"><code>php \/home\/username\/public_html\/generate_sitemap.php<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u6b21\u306b\u6642\u9593\u3092\u8a2d\u5b9a\u3057\u307e\u3059 <strong>1\u65e51\u56de<\/strong><\/li>\n<\/ul>\n\n<\/div>\n\t\t<\/div>\n\n<div class=\"gc-box notice_type icon_type\" style=\"text-align:left;border-radius:20px;box-shadow: 0 10px 10px #00000007\">\n\t\t\t<div class=\"gc-box-icon\"><svg x=\"0px\" y=\"0px\" viewbox=\"0 0 486.463 486.463\" > <g> <g> <path d=\"M243.225,333.382c-13.6,0-25,11.4-25,25s11.4,25,25,25c13.1,0,25-11.4,24.4-24.4 C268.225,344.682,256.925,333.382,243.225,333.382z\"\/> <path d=\"M474.625,421.982c15.7-27.1,15.8-59.4,0.2-86.4l-156.6-271.2c-15.5-27.3-43.5-43.5-74.9-43.5s-59.4,16.3-74.9,43.4 l-156.8,271.5c-15.6,27.3-15.5,59.8,0.3,86.9c15.6,26.8,43.5,42.9,74.7,42.9h312.8 C430.725,465.582,458.825,449.282,474.625,421.982z M440.625,402.382c-8.7,15-24.1,23.9-41.3,23.9h-312.8 c-17,0-32.3-8.7-40.8-23.4c-8.6-14.9-8.7-32.7-0.1-47.7l156.8-271.4c8.5-14.9,23.7-23.7,40.9-23.7c17.1,0,32.4,8.9,40.9,23.8 l156.7,271.4C449.325,369.882,449.225,387.482,440.625,402.382z\"\/> <path d=\"M237.025,157.882c-11.9,3.4-19.3,14.2-19.3,27.3c0.6,7.9,1.1,15.9,1.7,23.8c1.7,30.1,3.4,59.6,5.1,89.7 c0.6,10.2,8.5,17.6,18.7,17.6c10.2,0,18.2-7.9,18.7-18.2c0-6.2,0-11.9,0.6-18.2c1.1-19.3,2.3-38.6,3.4-57.9 c0.6-12.5,1.7-25,2.3-37.5c0-4.5-0.6-8.5-2.3-12.5C260.825,160.782,248.925,155.082,237.025,157.882z\"\/> <\/g> <\/g> <\/svg><\/div>\n\t\t\t\n\t\t\t<div class=\"gc-box-text\">\n\n<p>\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306f\u3001\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u7ba1\u7406\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306e\u30b5\u30a4\u30ba\u5236\u9650\u3092\u8d85\u3048\u308b\u5834\u5408\u306f\u3001\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3092\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u5272\u3057\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u3066\u3001\u30b5\u30a4\u30c8\u3054\u3068\u306b\u6700\u5927500\u500b\u306e\u30d5\u30a1\u30a4\u30eb\u3092Search Console\u306b\u540c\u6642\u306b\u9001\u4fe1\u3059\u308b\u3053\u3068\u3092\u304a\u52e7\u3081\u3057\u307e\u3059\u3002\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30d5\u30a1\u30a4\u30eb\u306eXML\u5f62\u5f0f\u306f\u901a\u5e38\u306e\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u3068\u540c\u69d8\u3067\u3001\u540c\u3058\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u307e\u305f\u306f\u305d\u308c\u3088\u308a\u6df1\u3044\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u914d\u7f6e\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u8a73\u7d30\u60c5\u5831 <a href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/sitemaps\/large-sitemaps\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/developers.google.com<\/a><\/p>\n\n<\/div>\n\t\t<\/div>\n\n<style scoped>.gc-accordion{margin-bottom:25px}.gc-accordion .gc-accordion-item{margin:10px 0 0}.gc-accordion .gc-accordion-item.gcclose .gc-accordion-item__content{display:none}.gc-accordion .gc-accordion-item.gcopen .gc-accordion-item__title .gciconafter{transform:rotate(0)}.gc-accordion .gc-accordion-item:first-of-type{margin-top:0}.gc-accordion .gc-accordion-item__heading{outline:0;text-decoration:none;font-weight:400 !important;font-size:15px !important;line-height:21px !important;margin:0 !important;padding:15px !important;}.gc-accordion .gc-accordion-item__title{z-index:1;position:relative;display:block;margin:0;background:none #f9f9f9;border:1px solid #ddd;cursor:pointer;transition:all .3s ease-in-out}.gc-accordion .gc-accordion-item__title span.iconfortoggle{display:block;position:absolute;height:14px;width:14px;right:20px;top:18px}.gc-accordion .gc-accordion-item__title span.iconfortoggle .gciconbefore{content:\"\";width:14px;height:3px;border-radius:2px;background-color:#111;position:absolute;top:6px}.gc-accordion .gc-accordion-item__title span.iconfortoggle .gciconafter{content:\"\";width:14px;height:3px;border-radius:2px;background-color:#111;position:absolute;top:6px;transform:rotate(90deg);transition:all .3s ease-in-out}.gc-accordion .gc-accordion-item__title:hover{background:none #eee}.gc-accordion .gc-accordion-item__content{z-index:0;position:relative;padding:15px;border:1px solid #ddd;border-top:none;background:#fff}.gc-accordion .gc-accordion-item__content.stuckMoveDownOpacity{-webkit-animation:stuckMoveDownOpacity .6s;animation:stuckMoveDownOpacity .6s}.gc-accordion .gc-accordion-item__text{font-size:16px;font-weight:400;line-height:1.75}@keyframes stuckMoveDownOpacity{0%{transform:translateY(-15px);opacity:0}100%{transform:translateY(0);opacity:1}}<\/style><div class=\"gc-accordion\" itemscope=\"\" itemtype=\"https:\/\/schema.org\/FAQPage\"><div class=\"gc-accordion-item gcopen\" itemscope=\"\" itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div class=\"gc-accordion-item__title\" style=\"background-color:#c6e3f7;border-color:#c6e3f7;\"><h3 class=\"gc-accordion-item__heading\" itemprop=\"name\" style=\"\">Sitemap.xml \u3068\u306f\u4f55\u3067\u3059\u304b?<\/h3><span class=\"iconfortoggle\"><span class=\"gciconbefore\" style=\"\"><\/span><span class=\"gciconafter\" style=\"\"><\/span><\/span><\/div><div class=\"gc-accordion-item__content\" style=\"\" itemscope=\"\" itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"gc-accordion-item__text\" itemprop=\"text\">Google \u3084\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u3001\u3069\u306e\u30da\u30fc\u30b8\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u304b\u3001\u304a\u3088\u3073\u6700\u7d42\u66f4\u65b0\u65e5 (lastmod)\u3001\u5909\u66f4\u983b\u5ea6 (changefreq)\u3001\u512a\u5148\u5ea6 (priority) \u306a\u3069\u306e\u30e9\u30f3\u30ad\u30f3\u30b0\u60c5\u5831\u3092\u901a\u77e5\u3059\u308b XML \u30d5\u30a1\u30a4\u30eb\u3002<\/div><\/div><\/div><div class=\"gc-accordion-item gcopen\" itemscope=\"\" itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div class=\"gc-accordion-item__title\" style=\"background-color:#c6e3f7;border-color:#c6e3f7;\"><h3 class=\"gc-accordion-item__heading\" itemprop=\"name\" style=\"\">sitemap.xml \u306f\u5fc5\u9808\u3067\u3059\u304b?<\/h3><span class=\"iconfortoggle\"><span class=\"gciconbefore\" style=\"\"><\/span><span class=\"gciconafter\" style=\"\"><\/span><\/span><\/div><div class=\"gc-accordion-item__content\" style=\"\" itemscope=\"\" itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"gc-accordion-item__text\" itemprop=\"text\">\u3053\u308c\u306f\u5fc5\u9808\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u7279\u306b\u5927\u898f\u6a21\u306a\u30b5\u30a4\u30c8\u3084\u65b0\u3057\u3044\u30da\u30fc\u30b8\u304c\u983b\u7e41\u306b\u8ffd\u52a0\u3055\u308c\u308b\u30b5\u30a4\u30c8\u3067\u306f\u3001\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u304c\u30da\u30fc\u30b8\u3092\u3088\u308a\u901f\u304f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/div><\/div><\/div><div class=\"gc-accordion-item gcopen\" itemscope=\"\" itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div class=\"gc-accordion-item__title\" style=\"background-color:#c6e3f7;border-color:#c6e3f7;\"><h3 class=\"gc-accordion-item__heading\" itemprop=\"name\" style=\"\">Sitemap.xml \u3068 robots.txt \u306e\u9055\u3044\u306f\u4f55\u3067\u3059\u304b?<\/h3><span class=\"iconfortoggle\"><span class=\"gciconbefore\" style=\"\"><\/span><span class=\"gciconafter\" style=\"\"><\/span><\/span><\/div><div class=\"gc-accordion-item__content\" style=\"\" itemscope=\"\" itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"gc-accordion-item__text\" itemprop=\"text\">robots.txt \u2192 \u30a2\u30af\u30bb\u30b9\u3092\u30d6\u30ed\u30c3\u30af\u3059\u308b\u30da\u30fc\u30b8\u3092\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u4f1d\u3048\u307e\u3059\u3002sitemap.xml \u2192 \u3069\u306e\u30da\u30fc\u30b8\u304c\u542b\u307e\u308c\u3066\u3044\u3066\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u304b\u3092\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u306b\u4f1d\u3048\u307e\u3059\u3002<\/div><\/div><\/div><div class=\"gc-accordion-item gcopen\" itemscope=\"\" itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div class=\"gc-accordion-item__title\" style=\"background-color:#c6e3f7;border-color:#c6e3f7;\"><h3 class=\"gc-accordion-item__heading\" itemprop=\"name\" style=\"\">PHP\/HTML \u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306f sitemap.xml \u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u304b?<\/h3><span class=\"iconfortoggle\"><span class=\"gciconbefore\" style=\"\"><\/span><span class=\"gciconafter\" style=\"\"><\/span><\/span><\/div><div class=\"gc-accordion-item__content\" style=\"\" itemscope=\"\" itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"gc-accordion-item__text\" itemprop=\"text\">\u306f\u3044\u3001\u3082\u3061\u308d\u3093\u3067\u3059! Sitemap.xml \u306f\u3001\u30d5\u30a1\u30a4\u30eb\u304c PHP\u3001HTML\u3001\u307e\u305f\u306f\u52d5\u7684 URL \u3067\u3042\u308b\u304b\u3069\u3046\u304b\u3092\u6c17\u306b\u305b\u305a\u3001Web \u30da\u30fc\u30b8\u306e URL \u3060\u3051\u3092\u4f1d\u3048\u307e\u3059\u3002<\/div><\/div><\/div><div class=\"gc-accordion-item gcopen\" itemscope=\"\" itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div class=\"gc-accordion-item__title\" style=\"background-color:#c6e3f7;border-color:#c6e3f7;\"><h3 class=\"gc-accordion-item__heading\" itemprop=\"name\" style=\"\">sitemap.xml \u306f\u3069\u306e\u304f\u3089\u3044\u306e\u983b\u5ea6\u3067\u66f4\u65b0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304b?<\/h3><span class=\"iconfortoggle\"><span class=\"gciconbefore\" style=\"\"><\/span><span class=\"gciconafter\" style=\"\"><\/span><\/span><\/div><div class=\"gc-accordion-item__content\" style=\"\" itemscope=\"\" itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"gc-accordion-item__text\" itemprop=\"text\">\u65b0\u3057\u3044\u30da\u30fc\u30b8\u304c\u983b\u7e41\u306b\u8ffd\u52a0\u3055\u308c\u308b\u5834\u5408\u306f\u3001\u3059\u3050\u306b\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u304c\u5b89\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u5909\u66f4\u304c\u3042\u3063\u305f\u3068\u304d\u306b\u66f4\u65b0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div><\/div><\/div><div class=\"gc-accordion-item gcopen\" itemscope=\"\" itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div class=\"gc-accordion-item__title\" style=\"background-color:#c6e3f7;border-color:#c6e3f7;\"><h3 class=\"gc-accordion-item__heading\" itemprop=\"name\" style=\"\">sitemap.xml \u306f\u5927\u304d\u3059\u304e\u307e\u3059\u304b?<\/h3><span class=\"iconfortoggle\"><span class=\"gciconbefore\" style=\"\"><\/span><span class=\"gciconafter\" style=\"\"><\/span><\/span><\/div><div class=\"gc-accordion-item__content\" style=\"\" itemscope=\"\" itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"gc-accordion-item__text\" itemprop=\"text\">XML\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5927\u30b5\u30a4\u30ba\u306f50MB\u3001\u30d5\u30a1\u30a4\u30eb\u3042\u305f\u308a\u306eURL\u6570\u306f\u6700\u592750,000\u500b\u3067\u3059\u3002\u3053\u308c\u3092\u8d85\u3048\u308b\u5834\u5408\u306f\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u5272\u3057\u3001\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/div><\/div><\/div><div class=\"gc-accordion-item gcopen\" itemscope=\"\" itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div class=\"gc-accordion-item__title\" style=\"background-color:#c6e3f7;border-color:#c6e3f7;\"><h3 class=\"gc-accordion-item__heading\" itemprop=\"name\" style=\"\">\u52d5\u7684\u306a URL (\u30af\u30a8\u30ea\u6587\u5b57\u5217\u306a\u3069) \u3092\u30b5\u30a4\u30c8\u30de\u30c3\u30d7\u306b\u542b\u3081\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b?<\/h3><span class=\"iconfortoggle\"><span class=\"gciconbefore\" style=\"\"><\/span><span class=\"gciconafter\" style=\"\"><\/span><\/span><\/div><div class=\"gc-accordion-item__content\" style=\"\" itemscope=\"\" itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"gc-accordion-item__text\" itemprop=\"text\">\u53ef\u80fd\u3067\u3059\u304c\u3001Google \u304c\u5b9f\u969b\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3067\u304d\u308b URL \u3092\u4f7f\u7528\u3057\u3001\u91cd\u8907\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u4f5c\u6210\u3059\u308b URL \u306f\u907f\u3051\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/div><\/div><\/div><div class=\"gc-accordion-item gcopen\" itemscope=\"\" itemprop=\"mainEntity\" itemtype=\"https:\/\/schema.org\/Question\"><div class=\"gc-accordion-item__title\" style=\"background-color:#c6e3f7;border-color:#c6e3f7;\"><h3 class=\"gc-accordion-item__heading\" itemprop=\"name\" style=\"\">sitemap.xml \u3092\u81ea\u52d5\u7684\u306b\u751f\u6210\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u3044\u3044\u3067\u3059\u304b?<\/h3><span class=\"iconfortoggle\"><span class=\"gciconbefore\" style=\"\"><\/span><span class=\"gciconafter\" style=\"\"><\/span><\/span><\/div><div class=\"gc-accordion-item__content\" style=\"\" itemscope=\"\" itemprop=\"acceptedAnswer\" itemtype=\"https:\/\/schema.org\/Answer\"><div class=\"gc-accordion-item__text\" itemprop=\"text\">PHP \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3059\u308b (\u5171\u6709\u30db\u30b9\u30c6\u30a3\u30f3\u30b0\u306b\u9069\u3057\u3066\u3044\u307e\u3059) Python \/ \u5916\u90e8\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b WordPress \u306a\u3069\u306e\u30d7\u30e9\u30b0\u30a4\u30f3 \/ CMS \u306b\u306f\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"Python\u30b3\u30fc\u30c9\u3092\u4f7f\u3063\u3066sitemap.xml\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u691c\u7d22\u30a8\u30f3\u30b8\u30f3\u304c\u30a6\u30a7\u30d6\u30da\u30fc\u30b8\u3092\u8a8d\u8b58\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u624b\u9806\u3092\u6bb5\u968e\u7684\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002.html\u30d5\u30a1\u30a4\u30eb\u3068.php\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u7528\u3057\u305f\u9759\u7684\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306e\u4f8b\u3068\u3001\u305d\u306e\u4f7f\u7528\u65b9\u6cd5\u3001\u305d\u3057\u3066Search Console\u307e\u305f\u306fping URL\u7d4c\u7531\u3067Google\u3068Bing\u306b\u9001\u4fe1\u3059\u308b\u624b\u9806\u3082\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002","protected":false},"author":1,"featured_media":2746,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"csco_singular_sidebar":"","csco_page_header_type":"","csco_page_load_nextpost":"","footnotes":""},"categories":[23,28],"tags":[],"class_list":{"0":"post-2699","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-website-creation","8":"category-html-css-javascript","9":"cs-entry"},"_links":{"self":[{"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/posts\/2699","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/comments?post=2699"}],"version-history":[{"count":36,"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/posts\/2699\/revisions"}],"predecessor-version":[{"id":2741,"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/posts\/2699\/revisions\/2741"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/media\/2746"}],"wp:attachment":[{"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/media?parent=2699"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/categories?post=2699"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/siammakemoney.com\/ja\/wp-json\/wp\/v2\/tags?post=2699"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}