OK, I found an error.
Our hosting provider changed webserver to Litespeed (we were using Apache). For some reason it doesn't support .htaccess the same way Apache did. Because of that the redirection I've created cannot work.
You can close the topic. Thank you!