Sitemap et Sous-domaine

WRInaute discret
Bonjour,

j'ai un site : http://www.chalet-poncelet.be qui possède 2 sous domaine selon la langue de l'utilisateur fr.chalet-poncelet.be et nl.chalet-poncelet.be

Et un fichier index.php qui redirige selon la langue de l'utilisateur dans le sous domaine adéquat.

Dois-je faire un sitemap par sous domaine? Ou un sitemap principal à la racine du site?

Merci d'avance
 
WRInaute discret
Par contre j'ai un problème avec l'un de mes sitemap :

donc j'ai mis le sitemap pour la partie francophone à la racine du sous domaine "fr" (http://www.chalet-poncelet.be/fr/sitemap.xml) là pas de problème, ça fonctionne impeccablement. Voilà le code :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<url>
		<loc>http://fr.chalet-poncelet.be</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>1</priority>
	</url>
	<url>
		<loc>http://fr.chalet-poncelet.be/chalet.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.8</priority>
	</url>
	<url>
		<loc>http://fr.chalet-poncelet.be/tarif.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.6</priority>
	</url>
	<url>
		<loc>http://fr.chalet-poncelet.be/reservation.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.5</priority>
	</url>
	<url>
		<loc>http://fr.chalet-poncelet.be/acces.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.6</priority>
	</url>
	<url>
		<loc>http://fr.chalet-poncelet.be/liens.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.5</priority>
	</url>
	<url>
		<loc>http://fr.chalet-poncelet.be/contact.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.5</priority>
	</url>
</urlset>

Par contre pour le sitemap du sous domaine nl, google webmaster tool me dit : "URL non autorisée
Cette URL n'est pas autorisée pour un sitemap situé à cet emplacement" à chaque endroit où j'ai une adresse pour une page. Alors que ce site map est correctement placé dans le sous domaine "nl" voilà le code :
Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<url>
		<loc>http://nl.chalet-poncelet.be</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>1</priority>
	</url>
	<url>
		<loc>http://nl.chalet-poncelet.be/chalet.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.8</priority>
	</url>
	<url>
		<loc>http://nl.chalet-poncelet.be/tarieven.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.6</priority>
	</url>
	<url>
		<loc>http://nl.chalet-poncelet.be/reservatie.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.5</priority>
	</url>
	<url>
		<loc>http://nl.chalet-poncelet.be/toegang.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.6</priority>
	</url>
	<url>
		<loc>http://nl.chalet-poncelet.be/links.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.5</priority>
	</url>
	<url>
		<loc>http://nl.chalet-poncelet.be/contacteer.html</loc>
		<lastmod>2009-12-23</lastmod>
		<changefreq>yearly</changefreq>
		<priority>0.5</priority>
	</url>
</urlset>

Si quelqu'un savait m'aider :? :roll: merci d'avance pour vos réponses
 
Discussions similaires
Haut