Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion websites/site/.gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.htaccess text eol=lf
.htaccess text eol=lf working-tree-encoding=UTF-8
9 changes: 5 additions & 4 deletions websites/site/.htaccess
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
Expand Down Expand Up @@ -32,13 +32,14 @@
# version, with [R=301] signaling permanent redirects and [L] preventing further
# rule processing.
#
# Note: This file is line ending sensitive. MUST use LF line endings.
# Note: This file is line ending and BOM sensitive. It MUST use LF line endings and
# MUST NOT have a BOM.


RewriteEngine On

# Redirect /docs/latest/ to /docs/3.0.3/
RewriteRule ^docs/latest/(.*)$ /docs/3.0.3/$1 [R=301,L]

# Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00016/
RewriteRule ^docs/absolute-latest/(.*)$ /docs/4.8.0-beta00016/$1 [R=301,L]
# Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00017/
RewriteRule ^docs/absolute-latest/(.*)$ /docs/4.8.0-beta00017/$1 [R=301,L]
Comment thread
NightOwl888 marked this conversation as resolved.