Answer the question
In order to leave comments, you need to log in
Bitrix redirection, from old CNC to new ones, how to set it up?
Good afternoon, there was an address like "website/catalog/item/243288/"
now done "website/catalog/symbol category code/symbol product code/"
how to set up a redirect from the old address to the new one?
Thanks
Answer the question
In order to leave comments, you need to log in
In urlewrite.php , you need to add the old address format and create a page that will handle such requests. On this page, use to CComponentEngine::ParseComponentPath()
get the infoblock element by ID and send it to the correct address.
Instead of a page, you can make a full-fledged complex component, which, after being configured through the interface, will itself be written to urlrewrite.php .
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question