aboutsummaryrefslogtreecommitdiffhomepage
path: root/public
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-05 13:14:39 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-05 13:14:39 +0900
commit230a1dd6dda7e8945c24e7b7a050083c91bc99f3 (patch)
treecd36414340788a10f01235fe2ac712dc934b065b /public
parent6390beff2b67adc99667e503a9a8f418b583aaa0 (diff)
schedule: アーカイブから独立したページに移行
- /kodaira-data/hp-archive/schedule/ から /kodaira-data/schedule/ に移動 - サイドバーは「小平市のデータ」直下に配置 - 旧URLは .htaccess で301リダイレクト - canonical・OGP・構造化データ・内部リンクを新URLに更新 - アーカイブへの戻るリンクを削除
Diffstat (limited to 'public')
-rw-r--r--public/.htaccess7
1 files changed, 7 insertions, 0 deletions
diff --git a/public/.htaccess b/public/.htaccess
index d3dfdb8..8b02d2d 100644
--- a/public/.htaccess
+++ b/public/.htaccess
@@ -6,6 +6,13 @@ ErrorDocument 404 /404.html
RewriteEngine On
# ============================================================
+# 行事予定ページの移転: /kodaira-data/hp-archive/schedule/ → /kodaira-data/schedule/
+# (アーカイブから独立したページにしたため、旧URLは新URLへ転送する)
+# ============================================================
+RewriteRule ^kodaira-data/hp-archive/schedule/?$ /kodaira-data/schedule/ [R=301,L]
+RewriteRule ^kodaira-data/hp-archive/schedule/(.+)$ /kodaira-data/schedule/$1 [R=301,L]
+
+# ============================================================
# 旧Docusaurus (baseUrl: /docs) → 新Starlight (base: /) へのリダイレクト
# ============================================================