D
D
Daniil Moiseenko2018-07-12 13:56:49
1C-Bitrix
Daniil Moiseenko, 2018-07-12 13:56:49

Where to find the file?

There is a site. When I start looking for the nizhny-novgorod.html file through the admin panel or FTP access, I cannot find it, it is simply not in the file directory. instead, there is a file from another page. In fact, it is an index.php
file Does the nizhny-novgorod.html file still exist or is it generated based on the Pushkin ship page? Can I somehow change the desired page , except through the visual editor (there I can not make all the changes that I need)?
PS: If necessary, I will insert the code from the existing page (which is Alexander Pushkin) in the comments, since it does not fit here.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
N
Nikita, 2018-07-12
@Rema1ns

understood nothing. skinbte listing url_rewrite.
well, in general, 100% cnc works if you say that the page is an index, it contains news.detail, most likely, and takes the code
^/ships/([a-zA-Z-0-9\-\_]+ ).html => /ships/index.php CODE=$1
and items are displayed by code.
If it is not possible to make changes through the admin panel, then you need to modify \ expand \ crutch the ship card template

D
Daniil Moiseenko, 2018-07-12
@Lord_Aectan

skinbte listing url_rewrite.

I don't understand what you mean.
Well, at the root of ships there is a file of the same name, which contains the line: "SEF_URL_TEMPLATES" => Array(
"detail" => "#ELEMENT_CODE#.html"
),

A
Alexander Filippenko, 2018-07-12
@alexfilus

You have a component connected in /ships/index.php, I'll assume it's news. It has IBLOCK_ID => ???
Here is the infoblock with this number and look for it in the admin panel. And in it is an element with the symbolic code nizhny-novgorod

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question