History: SiteMap
Preview of version: 17
How to use the sitemap feature
New in Tiki18: A built-in site map XML generator: https://sourceforge.net/p/tikiwiki/code/63719
Revamped in Tiki23 by replacing deprecated sitemap-php by melbahja/seo
Google wrote:
A sitemap is a file where you provide information about the pages, videos, and other files on your site, and the relationships between them. Search engines like Google read this file to crawl your site more efficiently. A sitemap tells Google which pages and files you think are important in your site, and also provides valuable information about these files. For example, when the page was last updated and any alternate language versions of the page.
In tiki, to generate the sitemap of your site, go to control panels / general preferences page / navigation tab. After activation, you can select 'sitemap' in the tools menu or visit: tiki-admin_sitemap.php
Clicking on 'rebuild sitemap' will generate two xml files (sitemap.xml, sitemap-index.xml).
The sitemap-index.xml file will look like this:
Copy to clipboard
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <sitemap> <loc> http://example.org/storage/public/sitemap.xml </loc> <lastmod>2017-09-26</lastmod> </sitemap> </sitemapindex>
You can then submit the sitemap-index.xml file to Google Sitemaps.
This uses https://packagist.org/packages/evert/sitemap-php
Launch from the command line
Copy to clipboard
# php console.php sitemap:generate http://wikisuite.org New sitemap created.
The result is here: http://wikisuite.org/storage/public/sitemap.xml
Related
- Tutorial - HowTo Create a Sitemap
- See Search engine optimization for existing documentation on all the current SEO facilities and the site map feature in particular.