Allow access to a sitemap.xml file if it exists

This commit is contained in:
Belle Aerni 2023-01-09 16:09:22 -08:00
parent 52e102e63b
commit 51211d87ec

View file

@ -7,4 +7,7 @@ RewriteRule ^Themes/[^/]+/Assets/.+$ - [L]
# Allow access to the robots.txt file
RewriteRule ^robots\.txt$ - [L]
# Allow access to the sitemap.xml file
RewriteRule ^sitemap\.xml$ - [L]
RewriteRule ^(.+)$ index.php [L,QSA]