diff .htaccess @ 15:3b7c1400f89a

Redirections adaptées à la nouvelle architecture.
author Franck Deroche <webmaster@defr.org>
date Fri, 26 Oct 2007 14:36:59 +0200
parents 629389204276
children 5eb974b45cb1
line wrap: on
line diff
--- a/.htaccess	Fri Oct 26 14:24:59 2007 +0200
+++ b/.htaccess	Fri Oct 26 14:36:59 2007 +0200
@@ -3,10 +3,10 @@
 RewriteRule ^dualblog.atom$ atom.php
 RewriteRule ^dualblog.rss$ rss.php
 RewriteRule ^posts/$ index.php [L]
-RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?type=cal&year=$1&month=$2 [L]
+RewriteRule ^posts/([0-9]+)/([0-9]{1,2})$ index.php?mode=cal&year=$1&month=$2 [L]
 RewriteRule ^posts/([0-9]+)-(.*)$ comment.php?id=$1 [L]
 RewriteRule ^posts/(.*)$ comment.php?id=$1 [L]
-RewriteRule ^tags/(.*)$ tag.php?tag=$1 [L]
+RewriteRule ^tags/(.*)$ index.php?mode=tag&tag=$1 [L]
 
 <Files admin*.php>
     #  AuthUserFile "w:\www\blog\.htpass"