diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-30 13:46:39 +0200 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2013-05-30 13:48:25 +0200 |
commit | 0280e9215fd88ab8aa1b0771d3e6a2df739efa33 (patch) | |
tree | a71586e17a6296c67e80603e75e62747df1fb739 /extras | |
parent | 12ac988fec5b95fe72370f7fb6ce7189e20272b0 (diff) |
Corrected old rss feed url
Diffstat (limited to 'extras')
-rw-r--r-- | extras/htaccess | 9 |
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> + |