Преглед на файлове

création du robots.txt et sitemap

implémentation du robots.txt et sitemap
henri carmelo преди 10 месеца
родител
ревизия
364f951988

+ 3 - 1
angular-client/angular.json

@@ -25,7 +25,9 @@
             "aot": true,
             "assets": [
               "src/favicon.ico",
-              "src/assets"
+              "src/assets",
+              "src/robots.txt",   
+              "src/sitemap.xml"   
             ],
             "styles": [
               "./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",

+ 6 - 0
angular-client/dist/fatboar/browser/robots.txt

@@ -0,0 +1,6 @@
+User-agent: *
+Disallow: /admin/
+Disallow: /login/
+Allow: /
+
+Sitemap: https://angular-preprod.foodgame.fr/sitemap.xml

+ 89 - 0
angular-client/dist/fatboar/browser/sitemap.xml

@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/</loc>
+        <changefreq>daily</changefreq>
+        <priority>1.0</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/login</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/login/lost-password</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/login/reset-password/:token</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/register</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/cgu</loc>
+        <changefreq>monthly</changefreq>
+        <priority>0.6</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/mention-legales</loc>
+        <changefreq>monthly</changefreq>
+        <priority>0.6</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/politique-de-confidentialite</loc>
+        <changefreq>monthly</changefreq>
+        <priority>0.6</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/admin</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/users</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/statistique</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/emailing</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/assistance</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/contact</loc>
+        <changefreq>monthly</changefreq>
+        <priority>0.6</priority>
+    </url>
+
+    <!-- Autres routes -->
+    
+    <!-- Auth -->
+    <url><loc>https://angular-preprod.foodgame.fr/auth</loc></url>
+
+    <!-- Tirage -->
+    <url><loc>https://angular-preprod.foodgame.fr/tirage</loc></url>
+
+    <!-- Profil -->
+    <url><loc>https://angular-preprod.foodgame.fr/profil</loc></url>
+
+    <!-- Not Found -->
+    <!-- Cette route n'a pas besoin d'être incluse dans le sitemap -->
+    
+</urlset>
+

+ 6 - 0
angular-client/src/robots.txt

@@ -0,0 +1,6 @@
+User-agent: *
+Disallow: /admin/
+Disallow: /login/
+Allow: /
+
+Sitemap: https://angular-preprod.foodgame.fr/sitemap.xml

+ 89 - 0
angular-client/src/sitemap.xml

@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/</loc>
+        <changefreq>daily</changefreq>
+        <priority>1.0</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/login</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/login/lost-password</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/login/reset-password/:token</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/register</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/cgu</loc>
+        <changefreq>monthly</changefreq>
+        <priority>0.6</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/mention-legales</loc>
+        <changefreq>monthly</changefreq>
+        <priority>0.6</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/politique-de-confidentialite</loc>
+        <changefreq>monthly</changefreq>
+        <priority>0.6</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/admin</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/users</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/statistique</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/emailing</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/assistance</loc>
+        <changefreq>weekly</changefreq>
+        <priority>0.8</priority>
+    </url>
+    <url>
+        <loc>https://angular-preprod.foodgame.fr/contact</loc>
+        <changefreq>monthly</changefreq>
+        <priority>0.6</priority>
+    </url>
+
+    <!-- Autres routes -->
+    
+    <!-- Auth -->
+    <url><loc>https://angular-preprod.foodgame.fr/auth</loc></url>
+
+    <!-- Tirage -->
+    <url><loc>https://angular-preprod.foodgame.fr/tirage</loc></url>
+
+    <!-- Profil -->
+    <url><loc>https://angular-preprod.foodgame.fr/profil</loc></url>
+
+    <!-- Not Found -->
+    <!-- Cette route n'a pas besoin d'être incluse dans le sitemap -->
+    
+</urlset>
+