Skip to content

Commit b372e16

Browse files
committed
.htaccess: update rewrite rules
1 parent 3848497 commit b372e16

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

static/.htaccess

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ ErrorDocument 404 /404.html
22

33
# Redirect /cookbook/5.0/... → /cookbook/5/...
44
# 302 is temporary, 301 is permanent
5+
RewriteEngine On
56
RewriteRule ^cookbook/5\.0(/.*)?$ /cookbook/5$1 [R=302,L]

0 commit comments

Comments
 (0)