Answer the question
In order to leave comments, you need to log in
Is there address redirection without "/" in Bitrix components?
In the product catalog ("bitrix.catalog" component), when requesting a page without "/" at the end of the address, a 404 error is generated. Is it possible to set up a redirect directly in the component, or should this be done only in .htaccess?
Answer the question
In order to leave comments, you need to log in
It is better to do this on the server side, in your case in htaccess. But I would leave 404 as it seems to me better for SEO.
You can also do it in Bitrix by writing a rule in urlrewrite. More details here https://dev.1c-bitrix.ru/api_help/main/general/url...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question