This is an automated email from the ASF dual-hosted git repository.
mauriciostekl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite-website.git
The following commit(s) were added to refs/heads/master by this push:
new a8a9a63 IGNITE-16131: renamed community.html file to avoid redirect
issues
a8a9a63 is described below
commit a8a9a63ee9944ec0bf78e451e76c59852a605fe3
Author: Mauricio Stekl <[email protected]>
AuthorDate: Wed Dec 15 10:32:19 2021 -0300
IGNITE-16131: renamed community.html file to avoid redirect issues
---
.htaccess | 9 +++++----
_src/{community.pug => our-community.pug} | 0
community.html => our-community.html | 0
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/.htaccess b/.htaccess
index b7a9ac9..628f2a0 100644
--- a/.htaccess
+++ b/.htaccess
@@ -152,6 +152,9 @@ Redirect 301 /screencasts.html /events.html
Redirect 301 /meetup-groups.html /events.html
Redirect 301 /docs/latest/index /docs/latest/
Redirect 301 /features/collocated-processing.html /features/compute-apis.html
+Redirect 301 /community/resources.html /our-community.html
+Redirect 301 /community/contribute.html /our-community.html
+Redirect 301 /community.html /our-community.html
##
@@ -159,10 +162,6 @@ Redirect 301 /features/collocated-processing.html
/features/compute-apis.html
RewriteEngine On
RewriteBase /
-RedirectMatch 301 ^/community/resources\.html$ /community.html
-RedirectMatch 301 ^/community/contribute\.html$ /community.html
-
-
RewriteCond %{HTTP_HOST} ^(www\.)?ignite.incubator.apache.org$
RewriteRule ^/?(.*)$ https://ignite.apache.org/$1 [L,R=301]
@@ -192,4 +191,6 @@ RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^docs/(.*)$ /docs/$1.html [NC]
+
+
ErrorDocument 404 /404.html
diff --git a/_src/community.pug b/_src/our-community.pug
similarity index 100%
rename from _src/community.pug
rename to _src/our-community.pug
diff --git a/community.html b/our-community.html
similarity index 100%
rename from community.html
rename to our-community.html