S
S
Sergey2017-08-30 11:02:07
css
Sergey, 2017-08-30 11:02:07

How to add a landing page to the bitrix 1c page more competently?

There is a ready-made online store, you need to hang a landing page on the section, while maintaining the old url, like
site.com/akcii/skidka
How is it better to implement it? Hang a landing page separately and then link the urls? Or how to insert it into the components? Bitrix functionality is not used in the landing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Nikolaev, 2017-08-30
@gromdron

There is a straightforward, but dubious solution: work through urlrewriter
If, as it was found out in the comments,
/akcii/ is the base page of the component
/akcii/skidka/ - the page where the list of elements from the infoblock with the "skidka" code is displayed
/akcii/nacenka/ - the page where the list of elements from the infoblock with the "nacenka" code is displayed. Then you
can add the following rule to urlrewrite.php : , "ID" => "", "PATH" => "/beginners/skidka/index.php", ), and check ifso that it is higher than the handler of /akcii/ itself. Then it should work and show the landing directory at /akcii/skidka/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question