S
S
smoln2016-07-07 11:43:41
1C-Bitrix
smoln, 2016-07-07 11:43:41

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

2 answer(s)
A
Alexey Ukolov, 2016-07-07
@alexey-m-ukolov

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 .

S
Sergey, 2016-07-07
@sergeyvidioreg

www.intervolga.ru/blog/bitrix/nastraivaem-chpu-fil...
plus-if you-an online store-do not forget about (combax)-smart filter for shaping CNC-will be very useful for SEO

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question