SEO: canonical, sitemap.xml, robots.txt, JSON-LD, noindex admin
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user