This commit is contained in:
fredtempez 2019-05-19 21:22:45 +02:00
commit 92e63bad2f
5 changed files with 56 additions and 4 deletions

View File

@ -5,4 +5,11 @@ SetEnv SESSION_USE_TRANS_SID 0
Options -Indexes
# Attention, surtout ne rien modifier ci-dessous !
# URL rewriting
# URL rewriting
<ifModule mod_rewrite.c>
RewriteEngine on
RewriteBase /ZwiiCMS/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
</ifModule>

12
robots.txt Normal file
View File

@ -0,0 +1,12 @@
# ZWII CONFIG ---------
User-agent: *
Disallow: /core/
Disallow: /module/
Disallow: /site/data
Disallow: /site/tmp
Disallow: /site/backup
Allow: /site/file/
Sitemap: http://localhost/ZwiiCMS/sitemap.xml
Sitemap: http://localhost/ZwiiCMS/sitemap.xml.gz
# ZWII CONFIG ---------

View File

@ -1,3 +0,0 @@
# Bloque l'accès aux sauvegardes
Order deny,allow
Deny from all

36
sitemap.xml Normal file
View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- generated-on="2019-05-19T09:44:02+02:00" -->
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<url>
<loc>http://localhost/ZwiiCMS/accueil</loc>
<lastmod>2019-05-19T09:44:02+02:00</lastmod>
</url>
<url>
<loc>http://localhost/ZwiiCMS/enfant</loc>
<lastmod>2019-05-19T09:44:02+02:00</lastmod>
</url>
<url>
<loc>http://localhost/ZwiiCMS/mise-en-page</loc>
<lastmod>2019-05-19T09:44:02+02:00</lastmod>
</url>
<url>
<loc>http://localhost/ZwiiCMS/menu-lateral</loc>
<lastmod>2019-05-19T09:44:02+02:00</lastmod>
</url>
<url>
<loc>http://localhost/ZwiiCMS/blog</loc>
<lastmod>2019-05-19T09:44:02+02:00</lastmod>
</url>
<url>
<loc>http://localhost/ZwiiCMS/galeries</loc>
<lastmod>2019-05-19T09:44:02+02:00</lastmod>
</url>
<url>
<loc>http://localhost/ZwiiCMS/site-de-zwii</loc>
<lastmod>2019-05-19T09:44:02+02:00</lastmod>
</url>
<url>
<loc>http://localhost/ZwiiCMS/contact</loc>
<lastmod>2019-05-19T09:44:02+02:00</lastmod>
</url>
</urlset>

BIN
sitemap.xml.gz Normal file

Binary file not shown.