feat: flux RSS sur /feed (publies uniquement, autodiscovery dans le head)

This commit is contained in:
Cedric Abonnel
2026-05-08 22:56:41 +02:00
parent f7d80fc72e
commit 9cde19fe42
3 changed files with 73 additions and 0 deletions
+3
View File
@@ -11,6 +11,9 @@ RewriteRule ^ - [L]
# URL propre pour les articles : /post/<slug>
RewriteRule ^post/([a-z0-9][a-z0-9-]*)/?$ /index.php?action=view&slug=$1 [L,QSA]
# Flux RSS
RewriteRule ^feed/?$ /feed.php [L]
# Ajoute .php si le fichier correspondant existe
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.php -f
RewriteRule ^(.+?)/?$ /$1.php [L,QSA]