We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eabd2cd commit e1afbb7Copy full SHA for e1afbb7
1 file changed
static/.htaccess
@@ -1 +1,5 @@
1
-ErrorDocument 404 /404.html
+ErrorDocument 404 /404.html
2
+
3
+# Redirect /cookbook/5.0/... → /cookbook/5/...
4
+# 302 is temporary, 301 is permanent
5
+RewriteRule ^cookbook/5\.0(/.*)?$ /cookbook/5$1 [R=302,L]
0 commit comments