I
I
Ivan2019-10-05 03:39:51
1C-Bitrix
Ivan, 2019-10-05 03:39:51

Bitrix how to make a URL and structure without the word product / catalog?

The usual site on the usual solution.
Purpose: deploy a complex component with categories on the main page and completely remove the already existing product section
qDblvd_CopKvaWHw1HDDzE6ratIEdtfWimNgUMRS
And everything seems to work out, the data from the info block is displayed, but when you click on the image, categories with product in the url
qDblvd_CopKvaWHw1HDDzNooSX2nm-jAXcHpTXKs
open
qDblvd_CopKvaWHw1HDDzBsJNwn-ejtaPCoqJfpG
. site / section /
but on the page a blank screen
SEF = also generates links correctly
Dancing with urlrewrite php did not give anything, and what should I write there? Redirect from homepage to homepage? )
2 programmers whom I wanted to hire for minor edits said that I was violating the bitrex architecture and that it was impossible to do it on the main main component. Is it so ? And is it possible?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aby125, 2019-10-06
@xxduhastxx

The screenshots are broken, but I will try to answer according to the description.
You throw a component on the main. There you click on the gear in edit mode. Where the CNC is configured (Page Address Management), check the box Enable CNC support. And in the "CNC directory (relative to the root of the site)" put a slash /. In theory, everything should work.
You can also go to the settings of the infoblock and change the links there (the URL of the section page and the URL of the detailed page), make them the same as those registered in the CNC. This should be done if, for example, there is a separate component with a menu that is in the header and takes links from the infoblock settings. Maybe for this reason something does not work.
Oh, and don't forget to clear the cache.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question