summaryrefslogtreecommitdiff
path: root/extras/htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'extras/htaccess')
-rw-r--r--extras/htaccess9
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/htaccess b/extras/htaccess
index 408c2c5..8f5358f 100644
--- a/extras/htaccess
+++ b/extras/htaccess
@@ -9,3 +9,12 @@ DirectoryIndex index.html /404.htm
# Flux cassé depuis la maj de pelican
Redirect /feeds/Libre.atom /feeds/libre.atom
Redirect /feeds/Perso.atom /feeds/perso.atom
+
+# Réécriture pour l'ancien flux rss
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+ RewriteBase /
+ RewriteCond %{QUERY_STRING} ^feed=rss2$ [NC]
+ RewriteRule ^$ /feed [NC,L,R=301]
+</IfModule>
+