Skip to content
Browse files
Merge pull request #2 from rlenferink/add-redirects
Added redirect for Studio documentation
  • Loading branch information
seelmann committed Dec 8, 2020
2 parents 6c29898 + dd3c936 commit 5c94da8d3a1e14ddff9f6b616d5a58b53870c885
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$ [QSA,L]
RewriteRule ^users-guide/latest/(.*)$ [QSA,L]

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

0 comments on commit 5c94da8

Please sign in to comment.