R
R
run1822018-07-16 11:20:05
1C-Bitrix
run182, 2018-07-16 11:20:05

How to make url parameters in lowercase in Bitrix?

Please help me to resolve the issue!
In the bitrix, the url of the form site.ru/catalog/?arrFilter_P7_MAX=&arrFilter_P7_MI...
must be reduced to lower case. How can I do that? Or why shouldn't it? SEOs demand.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Emelyanov, 2018-07-16
@run182

How can I do that?

Get into the bitrix:catalog component and redo the algorithm of the smart filter.
You will not do it neatly and correctly (because the vendor himself has been doing this for several years). You will lose the ability to update normally. If you still decide to do this and suppose you convert it to lower case, then the urls that you will have to save in this form forever will get into the search index! And there will be no talk of any refactoring in the future. In 2012, for one store, I wrote an analogue of a CNC smart filter, then it was not yet in the box. So the guys who stayed there are still forced to support it, because the links from the filter have acquired a good weight.
Seoshniki put forward such game as requirements for one reason, then to justify their poor results. They know perfectly well that this will affect the result by a little more than zero percent. But when they come to sign the act of closing the work and when asked why there is no result, the first thing they will say is: "Your IT specialists did not fulfill our requirements."
A SEO who is going to promote such links: site.ru/catalog/?arrFilter_P7_MAX=&arrFilter_P7_MI... must surrender his membership card in disgrace.

A
Andrey Nikolaev, 2018-07-16
@gromdron

If you want to be perverted, then here they gave a normal answer.

spoiler
in a serverwide httpd.conf:
RewriteEngine On
RewriteMap  lc int:tolower
RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule (.*) ${lc:$1} [R=301,L]

But as Aleksey Yemelyanov already told you , be warned that because of this, the internal mechanisms of the platform may be broken, the online store will stop working/selling normally, and the site will fall out of the search results. Take a written order approved by your manager that the SEO specialist will be responsible. Most likely it will scare him and he will fall behind.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question