Answer the question
In order to leave comments, you need to log in
How to set up urlrewrite for two directories in Bitrix?
I have 2 directory components on my site, one is in the root, the other is in a separate directory (/services/).
Accordingly, 2 infoblocks (goods and services)
Now, when you enter the services page, a catalog with goods opens.
As I understand it, the urlrewrite.php file should solve my problem. Tell me
how to set it up correctly? Or is it configured elsewhere?
Tried swapping sort key values - doesn't help
array(
"CONDITION" => "#^/services/#",
"RULE" => "",
"ID" => "bitrix:catalog",
"PATH" => "/services/index.php",
"SORT" => "1",
),
array(
"CONDITION" => "#^/#",
"RULE" => "",
"ID" => "bitrix:catalog",
"PATH" => "/index.php",
"SORT" => "2",
),
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question