Skip to content

Commit 179751d

Browse files
committed
Redirection for IN matrix
Signed-off-by: Josef Ridky <jridky@redhat.com>
1 parent 9a55b60 commit 179751d

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

build_production/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
RewriteEngine On
2+
RewriteCond %{HTTP_HOST} ^(www\.)?devconf\.info$ [NC]
3+
RewriteRule ^in/matrix/?$ https://matrix.to/#/#2026.in:devconf.cz [L,R=301]
24
ErrorDocument 404 https://www.devconf.info/404/index.html
35
ErrorDocument 500 https://www.devconf.info/404/index.html
46
#Make sure it's not an actual file
@@ -7,5 +9,3 @@ RewriteCond %{REQUEST_FILENAME} !-f
79
RewriteCond %{REQUEST_FILENAME} !-d
810
#Rewrite the request to index.php
911
RewriteRule ^(.*)$ $1.html [L]
10-
RewriteCond %{HTTP_HOST} ^(www\.)?devconf\.info$ [NC]
11-
RewriteRule ^in/matrix/?$ https://matrix.to/#/#2026.in:devconf.cz [L,R=301]

build_production/cz/blog/feed.atom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<title>DevConf.CZ Blog</title>
44
<link href="/blog" />
55
<link type="application/atom+xml" rel="self" href="/cz/blog/feed.atom" />
6-
<updated>2026-02-03T15:48:48+00:00</updated>
6+
<updated>2026-02-03T15:57:43+00:00</updated>
77
<id>/cz/blog/feed.atom</id>
88
<author>
99
<name>Josef Ridky &lt;jridky@redhat.com&gt;</name>

source/.htaccess

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
RewriteEngine On
2+
RewriteCond %{HTTP_HOST} ^(www\.)?devconf\.info$ [NC]
3+
RewriteRule ^in/matrix/?$ https://matrix.to/#/#2026.in:devconf.cz [L,R=301]
24
ErrorDocument 404 https://www.devconf.info/404/index.html
35
ErrorDocument 500 https://www.devconf.info/404/index.html
46
#Make sure it's not an actual file
@@ -7,5 +9,3 @@ RewriteCond %{REQUEST_FILENAME} !-f
79
RewriteCond %{REQUEST_FILENAME} !-d
810
#Rewrite the request to index.php
911
RewriteRule ^(.*)$ $1.html [L]
10-
RewriteCond %{HTTP_HOST} ^(www\.)?devconf\.info$ [NC]
11-
RewriteRule ^in/matrix/?$ https://matrix.to/#/#2026.in:devconf.cz [L,R=301]

0 commit comments

Comments
 (0)