I
I
IgorRastarov2017-03-23 14:48:00
1C-Bitrix
IgorRastarov, 2017-03-23 14:48:00

How to set CNC in a Bitrix component?

The question is the following.
There is a self-written component, in the rules for processing addresses manually added the rule:
Condition: #^/afisha/#
When editing the page, this rule is deleted.
That is, when SEOs enter metadata through editing a page, the address processing rule is deleted and pages become inaccessible
. How to set CNC in the component itself?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2017-03-28
@IgorRastarov

xzdshr absolutely rightly noted that not every component can use CNC. Try adding this line to the component call: SEF_MODE = "Y" - it might help.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question