Problem with dinamic URL rewrite with .htaccess : I had spend last few hours to get static URL from dynamic URL with .htaccess
If I get wanted URL I also get 404 error.

Dynamic URL is EN/section.php?lang=$1&url=$2 I had wrote ^(.*)/(.*)$ and it doesn't work. This work well with some prefix like ^language-(.*)/(.*)$ and then I get URL like  domain/language-en/some-section and it works but it is not wanted URL


RewriteRule ^(.*)/(.*)$ EN/section.php?lang=$1&url=$2 [L]

I expect URL like domain/en/some-section not URL like domain/language-en/some-section.