H
H
h2malkov2022-03-15 14:34:35
1C-Bitrix
h2malkov, 2022-03-15 14:34:35

How to remove index.php?

How to remove index.php in the middle of a link? /media/news/index.php?year=2020 <a class="btn-inline

black" href="<?=$APPLICATION->GetCurPageParam('year='.$value, array('year')); ?>"><?=$value;?>a>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Livach, 2022-03-15
@Mausglov

define a constant BX_DISABLE_INDEX_PAGE with value true

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question