Htaccess redirect from one page to another?

Please help me to configure redirect in the following situations:
1)domain.ru/technology/the brands/the brand domain.ru/technology/brand
1)domain.ru/technology/its-hands on domain.ru/technician

Domain address not to use the redirect rules. A lot of domains, all in one cms is connected. Domains 2 and 3 level
July 5th 19 at 00:07
1 answer
July 5th 19 at 00:09
Redirect 301 domain.ru/technology/the brands/the brand domain.ru/technology/brand
Redirect 301 domain.ru/technology/your-hand domain.ru/technician


So tried?
Need a universal solution, without explicitly specifying a domain - nikita.Stracke commented on July 5th 19 at 00:12
:

RewriteCond %{REQUEST_URI} ^/appliances/brands/brand/$
RewriteRule ^.*$ /appliances/brand/? [R=301,L] - luisa.Schul commented on July 5th 19 at 00:15
Thank you very much for your answers! Not good at this. What you need to do to remove the extra directory brands just. Technique, brands can be different. - nikita.Stracke commented on July 5th 19 at 00:18
The name of the directory "brand" and "technology" different can be meant to say. But the catalogue "brands" everywhere one - nikita.Stracke commented on July 5th 19 at 00:21

Find more questions by tags Apache