Skip to content

Commit

Permalink
websites/site/lucenetemplate/.htaccess: Fixed regex so it doesn't cap…
Browse files Browse the repository at this point in the history
…ture the -latest or Latest part of the URL
  • Loading branch information
NightOwl888 committed Nov 6, 2024
1 parent cbc3df2 commit fcd7684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion websites/site/lucenetemplate/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ RewriteEngine On
RewriteRule ^docs/latest/(.*)$ /docs/3.0.3/$1 [R=301,L]

# Redirect /docs/absolute-latest/ to /docs/4.8.0-beta00017/
RewriteRule ^docs/absolute(-latest|Latest)/(.*)$ /docs/4.8.0-beta00017/$1 [R=301,L]
RewriteRule ^docs/absolute(?:-latest|Latest)/(.*)$ /docs/4.8.0-beta00017/$1 [R=301,L]

0 comments on commit fcd7684

Please sign in to comment.