Bonjour ,
pour des besoins d'optimisations en terme de référencement naturel , j'ai besoin de générer automatiquement un sitemap.xml sous eZ publish.
De ce fait , j'ai téléchargé l'extension GoogleSitemapgenerator 3.0.0 que j'ai installé en suivant la procédure décrite dans cet article .
Mais apparemment quand je tape http://<nom de mon domaine>/layout/set/google/googlesitemap/generate/2 cela ne m'affiche aucun fichier xml.
Pour le fichier googlesitemapgenerator.ini , j'ai rempli de la manière suivante :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
[PathSettings]
EZPublishDirectory=home/site/recette/www
 
[Classes]
#set include to include objects of classes listed in Class_Filter_Array
#set exclude to exclude objects of classes listed in Class_Filter_Array
ClassFilterType=include
 
#setting array to include/exclude classes in sitemap
ClassFilterArray[]
ClassFilterArray[]=folder
ClassFilterArray[]=article
ClassFilterArray[]=rubrique
ClassFilterArray[]=page
ClassFilterArray[]=frontpage
 
 
[NodeSettings]
#set true to include only main node of content object in sitemap
#set false to include all nodes of content object in sitemap
MainNodeOnly=false
 
 
[StandardSettings]
#set standard values for last fallback
StandardChangefreq=daily
StandardPriority=0.8
 
 
[NodeChangeFreqSettings]
#<changefreq> based on absolute depth of node;
#NodeDepthChangefreq[<depth>]=<value>
NodeDepthChangefreq[]
#NodeDepthChangefreq[0]=always
#NodeDepthChangefreq[1]=always
#NodeDepthChangefreq[2]=hourly
NodeDepthChangefreq[3]=daily
#NodeDepthChangefreq[4]=weekly
#NodeDepthChangefreq[5]=monthly
#NodeDepthChangefreq[6]=yearly
#NodeDepthChangefreq[7]=never
Si quelqu'un a une idée pour m'aider à résoudre ce problème , je lui en serais reconnaissant.