You are viewing a plain text version of this content. The canonical link for it is here.
Posted to legal-discuss@apache.org by pa...@apache.org on 2023/07/13 19:29:24 UTC

[www-site] 38/41: adding rewriterule for .html extensions

This is an automated email from the ASF dual-hosted git repository.

paulau pushed a commit to branch preview/paulau
in repository https://gitbox.apache.org/repos/asf/www-site.git

commit 3ad505c990c39d7373fe08bf5f3349322ffceef0
Author: Paul Thomas Au <pa...@traverstodd.com>
AuthorDate: Mon Jul 10 13:15:00 2023 -0700

    adding rewriterule for .html extensions
---
 content/.htaccess | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/.htaccess b/content/.htaccess
index 3bbdc3e6a..19e57eda9 100644
--- a/content/.htaccess
+++ b/content/.htaccess
@@ -1,7 +1,7 @@
 RewriteEngine On
 RewriteCond %{HTTPS} off
 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
-
+RewriteRule ^/(.+)\.html$ /$1 [R=301,L]
 Redirect Permanent /foundation/martin.html /memorials/martin_poeschl.html
 
 Redirect /travel https://tac.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: legal-discuss-unsubscribe@apache.org
For additional commands, e-mail: legal-discuss-help@apache.org