This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
# 1. Empêcher le serveur de lister les dossiers
|
||||
Options -Indexes
|
||||
|
||||
# 2. Définir le fichier par défaut
|
||||
DirectoryIndex index.html
|
||||
|
||||
<IfModule mod_rewrite.c>
|
||||
RewriteEngine On
|
||||
|
||||
# Si le navigateur demande un dossier qui existe, on force quand même React
|
||||
# Sauf si c'est la racine
|
||||
RewriteCond %{REQUEST_URI} !^/index.html$
|
||||
RewriteCond %{REQUEST_FILENAME} -d
|
||||
RewriteRule ^(.*)$ /index.html [L]
|
||||
|
||||
# Gestion standard : si c'est pas un fichier réel, on va sur index.html
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule . /index.html [L]
|
||||
</IfModule>
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://coeur-ua-pam.fr/sitemap.xml
|
||||
Sitemap: https://coeur-ua-pam.org/sitemap.xml
|
||||
+4
-4
@@ -1,22 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://coeur-ua-pam.fr/</loc>
|
||||
<loc>https://coeur-ua-pam.org/</loc>
|
||||
<lastmod>2025-03-25</lastmod>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://coeur-ua-pam.fr/a-propos</loc>
|
||||
<loc>https://coeur-ua-pam.org/a-propos</loc>
|
||||
<lastmod>2025-03-25</lastmod>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://coeur-ua-pam.fr/notre-histoire</loc>
|
||||
<loc>https://coeur-ua-pam.org/notre-histoire</loc>
|
||||
<lastmod>2025-03-25</lastmod>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://coeur-ua-pam.fr/evenements</loc>
|
||||
<loc>https://coeur-ua-pam.org/evenements</loc>
|
||||
<lastmod>2025-03-25</lastmod>
|
||||
<priority>0.8</priority>
|
||||
</url>
|
||||
|
||||
Reference in New Issue
Block a user