aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/.htaccess
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-05 13:22:27 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-11-05 13:22:27 +0900
commit2bb8d5dcda26a0dfeedfb067cf6cc248ed1dad1d (patch)
tree55bd8ee3640195879aca17a99f42bccdd28af563 /public/.htaccess
parent230a1dd6dda7e8945c24e7b7a050083c91bc99f3 (diff)
events: 行事予定ページを /kodaira-data/events/ に変更
- /kodaira-data/schedule/ から /kodaira-data/events/ に変更 - 旧URL(hp-archive/schedule と schedule)から 301 リダイレクト - サイドバー・トップページ・案内ページのリンクを新URLに更新
Diffstat (limited to 'public/.htaccess')
-rw-r--r--public/.htaccess10
1 files changed, 6 insertions, 4 deletions
diff --git a/public/.htaccess b/public/.htaccess
index 8b02d2d..0075e99 100644
--- a/public/.htaccess
+++ b/public/.htaccess
@@ -6,11 +6,13 @@ ErrorDocument 404 /404.html
RewriteEngine On
# ============================================================
-# 行事予定ページの移転: /kodaira-data/hp-archive/schedule/ → /kodaira-data/schedule/
-# (アーカイブから独立したページにしたため、旧URLは新URLへ転送する)
+# 行事予定ページの移転: 旧URL → /kodaira-data/events/
+# (アーカイブから独立させ、さらに URL を events に変更した)
# ============================================================
-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]
+RewriteRule ^kodaira-data/hp-archive/schedule/?$ /kodaira-data/events/ [R=301,L]
+RewriteRule ^kodaira-data/hp-archive/schedule/(.+)$ /kodaira-data/events/$1 [R=301,L]
+RewriteRule ^kodaira-data/schedule/?$ /kodaira-data/events/ [R=301,L]
+RewriteRule ^kodaira-data/schedule/(.+)$ /kodaira-data/events/$1 [R=301,L]
# ============================================================
# 旧Docusaurus (baseUrl: /docs) → 新Starlight (base: /) へのリダイレクト