Здравствуйте!
На странице стоит компонент bitrix:news
На главной странице он выводит список новостей. Но когда нажимаю на просмотр отдельной статьи - выдает ошибку Элемент не найден.
В настройках инфоблока Новостей:
URL страницы детального просмотра: #SITE_DIR#/info/news/#ID#/
а вот файл urlrewrite.php:
<?
$arUrlRewrite = array(
array(
"CONDITION" => "#^/info/bilet/#",
"RULE" => "",
"ID" => "bitrix:form.result.new",
"PATH" => "/info/bilet/avia_abroad/index.php",
),
array(
"CONDITION" => "#^/info/otziv/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/review/index.php",
),
array(
"CONDITION" => "#^/info/about/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/info/about/index.php",
),
array(
"CONDITION" => "#^/info/bilet/#",
"RULE" => "",
"ID" => "bitrix:form.result.new",
"PATH" => "/info/bilet/index.php",
),
array(
"CONDITION" => "#^/info/bilet/#",
"RULE" => "",
"ID" => "bitrix:form.result.new",
"PATH" => "/info/bilet/avia_ru/index.php",
),
array(
"CONDITION" => "#^/info/bilet/#",
"RULE" => "",
"ID" => "bitrix:form.result.new",
"PATH" => "/bitrix/tmp/templates/__bx_preview/footer.php",
),
array(
"CONDITION" => "#^/info/news/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/info/news/index.php",
),
array(
"CONDITION" => "#^/articles/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/articles/index.php",
),
array(
"CONDITION" => "#^/#",
"RULE" => "",
"ID" => "bitrix:news",
"PATH" => "/index.php?t=1",
),
array(
"CONDITION" => "#^/catalog/#",
"RULE" => "",
"ID" => "bitrix:catalog",
"PATH" => "/dety-nn.ru/catalog/index.php",
),
array(
"CONDITION" => "#^/photos/#",
"RULE" => "",
"ID" => "bitrix:photo",
"PATH" => "/photos/index.php",
),
array(
"CONDITION" => "#^/forum/#",
"RULE" => "",
"ID" => "bitrix:forum",
"PATH" => "/forum/index.php",
),
);
?>