A
A
Anton Essential2014-07-30 20:13:31
1C-Bitrix
Anton Essential, 2014-07-30 20:13:31

How to make a sitemap?

Tell me how to make a complete map.
There is such an example in the off documentation, but it only displays sections.
I have a catalog and news in the sections, how can I display them?

<?$APPLICATION->IncludeComponent("bitrix:main.map","",Array(
        "LEVEL" => "3", 
        "COL_NUM" => "1", 
        "SHOW_DESCRIPTION" => "Y", 
        "SET_TITLE" => "Y", 
        "CACHE_TYPE" => "A", 
        "CACHE_TIME" => "3600" 
    ),
);?>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
artur43211, 2015-04-16
@artur43211

The sitemap in Bitrix is ​​built on the basis of the menus selected in the "Structure Management" module settings. Make catalogs and news menu items (they do not have to be displayed in the public part, the main thing is to place them correctly in the menu files).

A
arhis77, 2020-11-26
@arhis77

Tell me, how can I exclude any pages from the map output, or vice versa, specify which pages should be displayed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question