| Цитата |
|---|
| Alexey Voitov wrote: Good day! The next task is. It is necessary to show a 404 page for a non-existent element of the infoblock section. Example: - where element45 is an element of section 2, ( . Those. if i'm in url section / I substitute the symbolic code of an element from another section (element45), I need to display a 404 page. At the moment gives 404 in the title, but displays "Element not found" on the page itself. It is noteworthy that if I just enter something after the section, for example asdasdasd /, then everything works and the page displays page 404. PS The complex component bitrix: news is used. The checkbox for displaying a 404 page is set in the component settings. |