Skip to content

Commit

Permalink
apacheGH-571: [Docs] Fix redirect pattern
Browse files Browse the repository at this point in the history
Fixes apache#571.

We need to use `^/java/$` not `^/$` because we deploy our website to
`https://.../java/` not `https://.../`.
  • Loading branch information
kou committed Jan 30, 2025
1 parent 619dc3e commit c59f692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

RedirectMatch permanent "^/$" /current/
RedirectMatch permanent "^/java/$" /java/current/

0 comments on commit c59f692

Please sign in to comment.