P
P
Pavel Sidorov2021-04-15 10:42:58
1C-Bitrix
Pavel Sidorov, 2021-04-15 10:42:58

How can I configure the use of arbitrary URL parameters?

Tell me why the element crashes and will not be found in Bitrix when adding arbitrary parameters to the url
example
https://22.ru/catalog/dks-optimum/ - everything is ok
https://22.ru/catalog/dks-optimum/?1234 - error, element will not find

products separated
there is index.php and detail.php

processing rule

#^/catalog/([0-9a-zA-Z_-]*)/#	 	
/catalog/detail.php	
ELEMENT_CODE=$1


Explain how to allow arbitrary URL parameters with such a hierarchy. I know that if you use the bitrix.news component, then everything will work

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question