Skip to content
Permalink
Browse files
Added redirect for Studio documentation
  • Loading branch information
rlenferink committed Dec 4, 2020
1 parent 6c29898 commit dd3c936e9ba3b919afabcc685505525c752b26b6
Showing 1 changed file with 10 additions and 0 deletions.
@@ -0,0 +1,10 @@
Options +FollowSymLinks
RewriteEngine On

# Redirect to the latest release
RewriteRule ^users-guide/latest$ https://nightlies.apache.org/directory/studio/2.0.0.v20200411-M15/userguide/ [QSA,L]
RewriteRule ^users-guide/latest/(.*)$ https://nightlies.apache.org/directory/studio/2.0.0.v20200411-M15/userguide/ [QSA,L]

# Redirect everything else; more complex regex because of the changed directory structure and to not break existing urls
RewriteRule ^users-guide/((.*?)/)(.*)$ https://nightlies.apache.org/directory/studio/$2/userguide/$3 [QSA,L]

0 comments on commit dd3c936

Please sign in to comment.