DokuWiki

It's better when it's simple

User Tools

Site Tools


sitemap

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sitemap [2013-01-27 15:27]
88.74.123.0
sitemap [2019-05-20 11:04] (current)
jyoti [Question]
Line 3: Line 3:
 [[DokuWiki]] can automatically create an [[http://​www.sitemaps.org/​|XML Sitemap]] used by several big search engines like Google, Yahoo, and Microsoft. [[DokuWiki]] can automatically create an [[http://​www.sitemaps.org/​|XML Sitemap]] used by several big search engines like Google, Yahoo, and Microsoft.
  
-The sitemap creation ​is enabled with the [[config:​sitemap]] ​option. The sitemap is placed in the cache subdirectory of your DokuWiki installation. It will be accessed by the following type of URL ''​http://​your_domain/​dokuwiki/​doku.php?​do=sitemap''​. Depending on the availability of gzip support in your PHP install it will either be named ''​sitemap.xml.gz''​ (when gzip is available) or ''​sitemap.xml''​ (with no gzip support). Nearly all modern PHP installs have gzip support enabled, so ''​sitemap.xml.gz''​ is your best guess.+Before continuing, **enable** ​sitemap creation ​by setting ​the [[config:​sitemap]] ​properties under Configuration Settings. The sitemap is placed in the cache subdirectory of your DokuWiki installation. It will be accessed by the following type of URL ''​http://​your_domain/​dokuwiki/​doku.php?​do=sitemap''​. Depending on the availability of gzip support in your PHP install it will either be named ''​sitemap.xml.gz''​ (when gzip is available) or ''​sitemap.xml''​ (with no gzip support). Nearly all modern PHP installs have gzip support enabled, so ''​sitemap.xml.gz''​ is your best guess.
  
 When the sitemap is updated, DokuWiki will inform the following search engines automatically through a HTTP "​ping":​ When the sitemap is updated, DokuWiki will inform the following search engines automatically through a HTTP "​ping":​
Line 11: Line 11:
   * [[http://​www.live.com|Microsoft Live/MSN]]   * [[http://​www.live.com|Microsoft Live/MSN]]
  
-Note: the sitemap will only contain pages that are readable by the public without logging in.+__**Note: the sitemap will only contain pages that are readable by the public without logging in.**__
  
 :!: TODO: ?do=sitemap MUST allow restriction to namespaces. You can always have multiple sitemaps for different purposes and ?​do=sitemap&​ns=some_ns&​ns=... must be supported. :!: TODO: ?do=sitemap MUST allow restriction to namespaces. You can always have multiple sitemaps for different purposes and ?​do=sitemap&​ns=some_ns&​ns=... must be supported.
Line 35: Line 35:
  
   * [[seo|DokuWiki and Searchengines]]   * [[seo|DokuWiki and Searchengines]]
-  * [[http://​www.flagar.com/​en/​risorse/​dokuwiki_google_sitemap|Info about Google sitemap for older releases]] 
   * [[https://​www.google.com/​webmasters/​tools/​siteoverview|Google Webmaster Tools, use it to manage your sitemaps and monitor googlebot crawling reports about your site]]   * [[https://​www.google.com/​webmasters/​tools/​siteoverview|Google Webmaster Tools, use it to manage your sitemaps and monitor googlebot crawling reports about your site]]
 +
 +===== Question =====
 +If my domain is a virtual host set to an farm animal, will the ''?​do=sitemap''​ work? For me, I have got an empty sitemap.xml.gz from my http://​ghsrobert.tk/?​do=sitemap . How should I fix it? --- [[user>​MilchFlasche|MilchFlasche]] //​2019-04-02 16:45//
 +
 +* I think it works. Your link is working alright. It returned a gz file as described above. That contained a folder inside which there is one file called sitemap. It had lots of valid links. The arrangement looks odd though. ​ --- [[user>​jyoti|Jyoti]] //​2019-05-20 11:03//
sitemap.1359296854.txt.gz · Last modified: 2013-01-27 15:27 by 88.74.123.0