You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by bd...@apache.org on 2023/04/28 12:18:38 UTC

[comdev-site] branch main updated: Properly redirect obsolete page, I missed .htaccess earlier

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

bdelacretaz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 283d39d  Properly redirect obsolete page, I missed .htaccess earlier
283d39d is described below

commit 283d39d1d6778ff5862d8ac807bb6bbd7874b855
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Fri Apr 28 14:18:12 2023 +0200

    Properly redirect obsolete page, I missed .htaccess earlier
---
 source/calendars/conferences.md | 11 -----------
 static/.htaccess                |  3 +++
 2 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/source/calendars/conferences.md b/source/calendars/conferences.md
deleted file mode 100644
index 6d53012..0000000
--- a/source/calendars/conferences.md
+++ /dev/null
@@ -1,11 +0,0 @@
----
-title: Apache Conferences Calendar
----
-
-This page is not used anymore, see [/calendars](/calendars/) instead.
-
-<script>
-    // Hugo aliases should do that, didn't get them to work so far
-    window.location.href = "/calendars/"
-</script>
-
diff --git a/static/.htaccess b/static/.htaccess
index bc4547e..95e234e 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -6,4 +6,7 @@ Redirect /use-the-comdev-issue-tracker-for-gsoc-tasks.html /gsoc/use-the-comdev-
 
 Redirect /mentoring/experiences.html /gsoc/experiences.html
 
+
 Redirect /tags/ /tags.html
+
+Redirect /calendars/conferences.html /calendars/