P
P
PsyLonely2017-09-24 15:33:56
PHP
PsyLonely, 2017-09-24 15:33:56

How to replace %2B in url with _?

Good afternoon.
There is a url https://www.site.ru/vendors/ here “manufacturers” are presented, when choosing a manufacturer with a name consisting of one name, for example asko, go to the page https://www.site.ru/vendors/asko/ and further subcategories https : //www.site.ru/catalog/vytyazhki/filter/manuf ... for the subcategory, the space in the manufacturer's name is replaced by "%2B" in the url, https://www.site.ru/catalog/vstraivaemye-dukhovye-... the correct url here should look like this https://www.site.ru /catalog/vstraivaemye-dukhovye-...
i.e., instead of "%2B" there should be "_" in the filter line by manufacturer /filter/manufacturer_id-is-
Could you please tell me the syntax for writing the correct redirect in .htaccess

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Yanyshev, 2017-09-24
@villiwalla

You don't need a redirect, here you need to name the manufacturer in the url c_

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question