Sitemap

In which format is my sitemap available ?

The sitemap rendering is done by templates as default we provide three types of sitemap, html, text or xml (following standard from sitemaps.org.

How to customize the sitemap ?

The sitemap will list all sub elements of the current node having the options . By default, all objects of type jnt:page will have this options automatically activated by some rules. You can add your own rules for different types, or you can manually activate the option on a specific content.

Here is the rule for automatically assigning the option to a newly created page.

rule "Add sitemap mixin to page"
salience -10
no-loop
when
A new node is created
- it has the type jnt:page
then
Add the type
end

How do I submit my sitemap to search engines like Google, Yahoo!, Microsoft ?

The submission of your sitemap can be done automatically by a background job in JAHIA. This job is defined inside the sitemap module.

This job is define in two parts first we have the trigger. The trigger is here to define at which time we want to execute the job. Here we use a cron expression to define the time of execution (here 4 AM every day of every year).

The second part is the job by itself, where you can configure how many search engines you want to reach by specifying the url where to submit the sitemap.

Then you have to list which domain you want to submit. Here we will submit the domain/sitemap.xml. To know how to bind your domain/sitemap.xml to your homepage look at the documentation about Apache HTTP Server in the war module.

For each search engine, you will have to follow their policy. For example on Google, they ask that for the first time you manually register you sitemap using their webmaster tools (to follow what happens and have feedback in your Google environment).