diff --git a/htaccess.txt b/htaccess.txt index 226b91726c1bfb5992c41b73c898e3cf0d9e36eb..8e01fbcbe567a87c4e6e4a669c5b0ec9d64a68c0 100644 --- a/htaccess.txt +++ b/htaccess.txt @@ -82,6 +82,15 @@ RewriteRule ^spip_rss\.php3?$ spip.php?page=rss [QSA,L] # Fin compatibilite ### +### +# ping http://site/1234 => article1234 + +RewriteRule ^([1-9][0-9]*)$ spip.php?action=redirect&type=article&id=$1 [QSA,L] + +# +### + + ### # URLs "propres", "propres2", "libres", "arbo" @@ -104,8 +113,6 @@ RewriteRule ^favicon[.]ico$ spip.php?page=favicon.ico [QSA,L] RewriteRule ^sitemap[.]xml$ spip.php?page=sitemap.xml [QSA,L] ## -## ping http://site/1234 => article1234 -RewriteRule ^([1-9][0-9]*)$ spip.php?action=redirect&type=article&id=$1 [QSA,L] # expirer les images (pour contourner gros bug MSIE sur le cache) # note : a decommenter si vous voulez tester