SEO: canonical, sitemap.xml, robots.txt, JSON-LD, noindex admin

This commit is contained in:
Cedric Abonnel
2026-05-12 01:19:38 +02:00
parent ca6fcefe51
commit 3a5ae2631d
7 changed files with 139 additions and 3 deletions
+3
View File
@@ -16,6 +16,9 @@ RewriteRule ^feed/?$ /feed.php [L,QSA]
RewriteRule ^rss/?$ /feed.php [L,QSA]
RewriteRule ^rss\.xml$ /feed.php [L,QSA]
# Sitemap
RewriteRule ^sitemap\.xml$ /sitemap.php [L]
# Ajoute .php si le fichier correspondant existe
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.php -f
RewriteRule ^(.+?)/?$ /$1.php [L,QSA]