This is an automated email from the ASF dual-hosted git repository.

jbertram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/artemis-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 81594af  another attempt for new console doc scaffolding
81594af is described below

commit 81594afc8bffb016b934c9939689a47e939de471
Author: Justin Bertram <[email protected]>
AuthorDate: Sun Jan 18 20:25:26 2026 -0600

    another attempt for new console doc scaffolding
---
 src/components/artemis-console/newdocs/.htaccess | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/components/artemis-console/newdocs/.htaccess 
b/src/components/artemis-console/newdocs/.htaccess
index 81784aa..9f142cb 100644
--- a/src/components/artemis-console/newdocs/.htaccess
+++ b/src/components/artemis-console/newdocs/.htaccess
@@ -1,4 +1,7 @@
 RewriteEngine On
 
-RewriteRule ^latest$ /components/artemis-console/newdocs/1.5.0/ [L]
+# 1. Force the trailing slash for the "bare" URL so paths don't break
+RewriteRule ^latest$ /latest/ [R=301,L]
+
+# 2. Internal rewrite for everything else
 RewriteRule ^latest/(.*)$ /components/artemis-console/newdocs/1.5.0/$1 [L]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to