Answer the question
In order to leave comments, you need to log in
Bitrix. Rule for processing addresses?
It is necessary to make static addresses for categories of the form:
www.site.ru/catalog/?brand=alcatel It is
necessary to do this
www.site.ru/catalog/alcatel
As I understand it, you need to add a rule to address processing? works
Or can it be done via the CNC of the infoblock?
Answer the question
In order to leave comments, you need to log in
In Bitrix (will go through Apache and /urlrewrite.php ):
An example of a CNC config via nginx :
location ~* ^/catalog/([_a-zA-Z0-9-]*)/ {
proxy_pass http://127.0.0.1:8080/catalog/?brand=$1&$args;
proxy_redirect http://127.0.0.1:8080/ /;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Real-URL /catalog/$1/;
proxy_set_header X-Real-ARGS $args;
}
www.site.ru/catalog/?brand=alcatel
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question