How to replace part of the url?

Hi, just starting to sort out the redirects.. how to replace www.test.ru/technics/page1/ on www.test.ru/arenda/page1/ ?
July 8th 19 at 15:47
2 answers
July 8th 19 at 15:49
Solution
In .htaccess add the line:
RedirectMatch 301 /technics/page1 /arenda/page1
July 8th 19 at 15:51
../../arenda/page1/

Find more questions by tags PHPApachehtaccess