Scheduled Tasks

Sana Commerce 9.3
Your connector

Sitemap Export

The Sitemap export task is used to inform search engines about the web store URLs that are available for indexing. The sitemap is the XML file that contains the web store URLs with additional metadata about each URL: when it was last updated, how often it changes, and how important it is in relation to other web store URLs.

All web pages are available for indexing:

  • Product pages
  • Flexi-pages
  • News
  • Product list pages
  • FAQ pages

The URLs of the pages in different languages are also created in the "sitemap" files when the web store is multilingual.

Set up the "Sitemap export" task

To set up the Sitemap export task, click Edit.

The tables below provide the description of the Sitemap export task settings:

Settings Description
Run on schedule Use this option to enable automatic running of the Sitemap export task according to the configured schedule, or disable it to allow only manual start of the task.

If you enable Run on schedule, you should enter either the interval in minutes when the task should run automatically or the fixed time.
Run interval (in minutes) Enter the time interval in minutes when the task should run automatically.
Run time Enter the fixed time when the task should run automatically. For the fixed time, the time of the server is used.
Items per file Enter the number of links which must be stored in a single "sitemap" file.
Maximum: 50000
Maximum archived log files Enter the maximum number of log files to store. If this number exceeds, the oldest log file will be removed and the new one will be created.

Use Providers to configure web pages for indexing:

Settings Description
Enabled Use this option to enable and disable web pages for indexing.
Batch size Enter the quantity of items that should be handled in one batch.
Priority Enter the priority of the web page URLs in relation to other URLs in the web store. This allows to specify which pages are more important.
The valid range is from "0.0" to "1.0" with increment of "0.1", where "1.0" is the most important. The default value is "0.5".
Rating all web pages with a high priority will not have any effect on the search.
Change frequency Determine how frequently the page may change:
  • Always
  • Hourly
  • Daily
  • Weekly
  • Monthly
  • Yearly
  • Never

"Always" is used to mark the web pages that change each time when they are accessed. "Never" is used to mark the archived URLs (for example, files that will not be changed again).

When the sitemap file has been created and added to the web server, you need to inform the search engines about its location. You can do this by adding the sitemap URL to the "robots.txt" file. This can be done directly in Sana Admin: Setup > Basics > Robots. For more information, see "Robots".

For more information about sitemaps, please visit this website: http://www.sitemaps.org/protocol.php

Web store domains

The URLs of the web store pages that are added to the "sitemap" file also depend on your web store domains setup.

Scenario 1

You have only one web store domain.

All URLs of the web store pages will be added to the "sitemap" file for all available languages.

Scenario 2

You have two or more web store domains each assigned to a certain language. All URLs of the web store pages will be added to the "sitemap" file for both domains and with the corresponding language selected on the "Webstore domains" page.

Scenario 3

You have two or more web store domains with no languages selected. One is the global web store domain which is used as the default web store domain and another one is the alternative web store domain. Only the URLs for the default web store domain will be added to the "sitemap" file for all available languages. URLs for the alternative web domain will not be added to the "sitemap" file.

Scenario 4

You have two or more web store domains. One is the global web store domain which is used as the default one and the other web store domain is used as a language-specific alternative domain. All URLs of the web store pages will be added to the "sitemap" file for the default global web store domain and for all available languages except the language that is selected for the alternative web store domain. All URLs for the alternative web store domain but only with the assigned language will be also added to the "sitemap" file.