Answer the question
In order to leave comments, you need to log in
How to write a complex redirect from one directory to another?
There was a URL like
https://www.lora.ua/posuda/bokali-pitevaya-posuda/$S1/gruppa-tovarov_chashki-i-krujki/$S2/
https://www.lora.ua/posuda/bokali-pitevaya-posuda/vid_chaynie/gruppa-tovarov_chashki-i-krujki/obem_220ml/
https://www.lora.ua/posuda/stolovaya-posuda/$S1/gruppa-tovarov_chashki-i-krujki/$S2/
https://www.lora.ua/posuda/stolovaya-posuda/vid_chaynie/gruppa-tovarov_chashki-i-krujki/obem_220ml/
https://www.lora.ua/posuda/bokali-pitevaya-posuda/$S1/$S0/$S2/
https://www.lora.ua/posuda/bokali-pitevaya-posuda/material_bogemskoe-steklo/gruppa-tovarov_kuvshini-i-grafini/obem_220ml/
which do not need to
be redirected. $S1
, they may or may not be $S2
present and can take on principle any value . changes. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question