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

exceptionfactory pushed a commit to branch main-staging
in repository https://gitbox.apache.org/repos/asf/nifi-site.git

commit fc2c3128803c766e609744a8394c3c60c02488c8
Author: exceptionfactory <[email protected]>
AuthorDate: Fri Jan 19 13:41:31 2024 -0600

    NIFI-12646 Added Rewrite Rules for several guides
    
    (cherry picked from commit c4a5e4702d30ae88584e854fd0f97aed887606d1)
---
 static/.htaccess | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/static/.htaccess b/static/.htaccess
index 512bf92b..f14b51ef 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -8,6 +8,10 @@ RewriteRule     ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} 
[L,R]
 RewriteRule 
^docs/nifi-docs/components/org\.apache\.nifi/([^\/]+?)/[^\/]+?/(.*)$ 
docs/nifi-docs/components/org.apache.nifi/$1/1.24.0/$2 [L]
 
 # Rewrite historical links
+RewriteRule ^quickstart\.html$ /documentation/v2/ [L,R]
+RewriteRule ^developer-guide\.html$ /documentation/guides/ [L,R]
+RewriteRule ^release-guide\.html$ /documentation/guides/releases/ [L,R]
+RewriteRule ^licensing-guide\.html$ /documentation/guides/licensing/ [L,R]
 RewriteRule ^docs\.html$ /documentation/v2/ [L,R]
 RewriteRule ^download\.html$ /download/ [L,R]
 RewriteRule ^faq\.html$ /documentation/ [L,R]

Reply via email to