+

Search Tips   |   Advanced Search

Enable or disable SEO

Enable or disable search engine optimization (SEO) of your public wiki content.

By default, IBM Connections automatically runs a scheduled task to generate a sitemap for SEO. The task runs at midnight every Sunday but we can change or disable this schedule if necessary.

The SitemapGenerator task queries the WIKIS database periodically and generates sitemap files. This task consumes memory and database resources so IBM recommends that you allow the task to run at off-peak times.

To change the scheduled SEO task:

  1. Open wikis-config.xml. The default location of the file is:

  2. Find the stanza for the SitemapGenerator task.

  3. Disable the scheduled task by changing the value of the <task enabled> parameter to false.

  4. Change the schedule by editing the Interval parameter. The value is a CRON expression. For more information about setting CRON values, see the Scheduling tasks topic.

  5. Save and close wikis-config.xml.

  6. To edit the number of URLs per sitemap or the output path of the sitemap file, open the web.xml file. The default location of the file is:

  7. Change the output path by changing the value of the WIKI_SITEMAP_STORAGE_ROOT parameter.

  8. Change the number of URLs per sitemap by changing the value of the WIKI_SITEMAP_URLS_PER_SITEMAP parameter.

    We can provide multiple sitemap files but each file must have no more than 50,000 URLs and must be no larger than 10 MB. See Sitemaps XML format webpage.

  9. Save and close the web.xml file.


Parent topic:
Search Engine Optimization (SEO) for Wikis


Related:

Scheduling tasks