Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:linux:dokuwiki [2011/12/07 14:43]
matthieu
en:linux:dokuwiki [2012/06/23 19:21] (current)
matthieu
Line 39: Line 39:
 <code> <code>
 /opt/dokuwiki/bin# su www-data /opt/dokuwiki/bin# su www-data
-/opt/dokuwiki/bin$ php indexer.php+/opt/dokuwiki/bin$ php indexer.php -c
 Searching pages... 96 pages found. Searching pages... 96 pages found.
 cuisine:caramelbeurresale... done. cuisine:caramelbeurresale... done.
Line 54: Line 54:
 The Sitemap index is read by Google to index the website. The Sitemap index is read by Google to index the website.
  
-To enable it, you need +To enable it, you need to change the "sitemap" option to 1
-  * create the file sitemap.xml.gz owned by www-data :+
  
-<code> +The sitemap file is available with the path /wiki/doku.php?do=sitemap, example : http://www.bouthors.fr/wiki/doku.php?do=sitemap.
-# cd /opt/dokuwiki +
-/opt/dokuwiki# touch sitemap.xml.gz +
-/opt/dokuwiki# chown www-data sitemap.xml.gz +
-/opt/dokuwiki# +
-</code> +
- +
-  * Change the "sitemap" option to 1 +
- +
-The file http://www.bouthors.fr/wiki/sitemap.xml.gz is automatically updated by dokuwiki.+
  
 ===== Backup ===== ===== Backup =====
en/linux/dokuwiki.1323265388.txt.gz · Last modified: 2011/12/07 14:43 by matthieu
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki