M
M
Mad Zeed2022-01-17 16:44:05
htaccess
Mad Zeed, 2022-01-17 16:44:05

How to properly set up a directory redirect after moving categories to htaccess?

After the transfer of child sections on the site, links appeared with a 404 error ... I want to redirect to parent categories ... how to write it correctly.

Example links with 404 error:
/ru/akaltynskiy-rayon/stroymaterialy-i-instrumenty
/ru/akaltynskiy-rayon/vakansii/strahovanie
/ru/akmangit/stroymaterialy-i-instrumenty/potolki
/ru/alat/sport-i-otdyh /vodnye-vidy-sporta
/ru/almazar/sport-i-otdyh/tennis-badminton-darts
/ru/almazar/stroymaterialy-i-instrumenty/dveri

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question