Browse Source

reparer l'URL du ping http://site/123 (ferme #1860)

spip-3-stable
Fil 13 years ago
parent
commit
55ae6245b4
  1. 11
      htaccess.txt

11
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

Loading…
Cancel
Save