Skip to content

Commit

Permalink
NIFI-12646 Added Rewrite Rules for several guides
Browse files Browse the repository at this point in the history
  • Loading branch information
exceptionfactory committed Jan 19, 2024
1 parent 641f47a commit c4a5e47
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit c4a5e47

Please sign in to comment.