User-agent: * # --- 【最重要】サーバー負荷対策(5xxエラー防止) --- # 301リダイレクト前の段階でブロックし、サーバーダウンを確実に防ぎます Disallow: /*?*jsf_ajax=* Disallow: /*?*nocache=* Disallow: /*?*twkm_refresh=* # --- 重複コンテンツ・パラメータ対策 --- Disallow: /*?*attachment_id=* Disallow: /*?*s=* Disallow: /*?s= Disallow: /*&s= Disallow: /*?jet_search= Disallow: /*&jet_search= Disallow: /search/ # --- システム・管理画面 --- Disallow: /wp-admin/ Disallow: /cgi-bin/ Disallow: /trackback/ Disallow: /xmlrpc.php Disallow: /comments/ # --- 許可設定 (Allow) --- # Ajax機能は必須 Allow: /wp-admin/admin-ajax.php # 静的リソースは読ませる Allow: /wp-content/uploads/ Allow: /wp-content/themes/ Allow: /wp-content/plugins/ # REST API Allow: /wp-json/ # --- Googlebot-News 専用設定 --- User-agent: Googlebot-News # ニュースボットにも負荷対策を適用(必須) Disallow: /*?*jsf_ajax=* Disallow: /*?*nocache=* Disallow: /*?*twkm_refresh=* Disallow: /*?*attachment_id=* Disallow: /*?*s=* # ニュースに含めない一覧ページ群 Disallow: /category/ Disallow: /tag/ Disallow: /events/category/ Disallow: /events/tag/ Disallow: /tourist-spot/category/ Disallow: /tourist-spot/tag/ Disallow: /gourmet/category/ Disallow: /gourmet/tag/ # フィードは許可 Allow: /feed/ Allow: /events/feed/ Allow: /news/feed/ Allow: /business/feed/ Allow: /tourist-spot/feed/ Allow: /gourmet/feed/ Allow: /videos/feed/ Allow: /hotels/feed/ Allow: /people/feed/ Allow: /music-towada/feed/ Allow: /towada-karuta-1977/feed/ Allow: /recruitment/feed/ Allow: /shops/feed/ # --- サイトマップ --- Sitemap: https://towakomyu.com/sitemap_index.xml Sitemap: https://towakomyu.com/news-sitemap.xml