Answer the question
In order to leave comments, you need to log in
How to make the server response be 404 by condition?
In Bitrix, when typing a URL with ?PAGEN_1=2 or in general ?PAGEN_2=36 , although the news.list component contains NEW_COUNT =>9999
, that is, without pagination at all, it still displays the page, but 404.php
should not be a redirect, namely server status 404
Answer the question
In order to leave comments, you need to log in
See if there is a check mark in the settings of the main module
Also in the settings of the component there is a setting
read here
onlinebd.ru/blog/1s-bitriks-pravilnaya-nastroika-stranicy-404
?PAGEN_1=2 are normal GET request parameters. Anything can be there (?NAME=WASYA&AGE=12).
Which leads to a reasonable question: Do you want to disable the use of GET parameters in URLs? Then Bitrix has nothing to do with it. It is unlikely that the developers have provided the opportunity to implement such an amazing quirk.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question